summaryrefslogtreecommitdiff
path: root/config/environments/development.rb
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-24 04:13:16 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-24 04:13:16 +0200
commite0a7e0fec760ba12c8067a37e10c96f1f05876e2 (patch)
treed0cf745592a46aee4d4913911fd34c7c24515220 /config/environments/development.rb
parent6424e10be5a89f175a74c71c55660412a169b8b8 (diff)
Stage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgrade
- Converted plugins to gems (Gemfile) - Updated config structure (application.rb, boot.rb, environment.rb) - Converted routes to Rails 3 DSL - Converted named_scope to scope throughout models - Converted find(:all, :conditions) to where() chains - Fixed has_many :order to use ordering scope - Updated session store and secret token configuration - Fixed exception_notification middleware configuration - Patched Ruby 2.4 / Rails 3.2 incompatibilities: - Integer/Float duration arithmetic (ActiveSupport) - Arel visit_Integer for PostgreSQL adapter - create_database String/Integer coercion - ActionController consider_all_requests_local - Migrated taggings schema for acts-as-taggable-on - Replaced dynamic_form gem with custom form_error_messages helper - Fixed Rails 3 block helper syntax (form_for, form_tag, fields_for) - Fixed admin layout yield - Updated test suite for Rails 3 APIs
Diffstat (limited to 'config/environments/development.rb')
-rw-r--r--config/environments/development.rb27
1 files changed, 15 insertions, 12 deletions
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 85c9a60..6446686 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -1,17 +1,20 @@
1# Settings specified here will take precedence over those in config/environment.rb 1# Settings specified here will take precedence over those in config/environment.rb
2 2
3# In the development environment your application's code is reloaded on 3Cccms::Application.configure do
4# every request. This slows down response time but is perfect for development 4 # In the development environment your application's code is reloaded on
5# since you don't have to restart the webserver when you make code changes. 5 # every request. This slows down response time but is perfect for development
6config.cache_classes = false 6 # since you don't have to restart the webserver when you make code changes.
7 config.cache_classes = false
7 8
8# Log error messages when you accidentally call methods on nil. 9 # Log error messages when you accidentally call methods on nil.
9config.whiny_nils = true 10 config.whiny_nils = true
10 11
11# Show full error reports and disable caching 12 # Show full error reports and disable caching
12config.action_controller.consider_all_requests_local = true 13 config.action_controller.consider_all_requests_local = true
13config.action_view.debug_rjs = true 14 config.action_controller.perform_caching = false
14config.action_controller.perform_caching = false
15 15
16# Don't care if the mailer can't send 16 # Don't care if the mailer can't send
17config.action_mailer.raise_delivery_errors = false \ No newline at end of file 17 config.action_mailer.raise_delivery_errors = false
18
19 config.active_support.deprecation = :log
20end