Project

General

Profile

« Previous | Next » 

Revision 05f13042

Added by Marc Dequènes almost 14 years ago

  • ID 05f13042d910b390b3eeb3123fcdfe209e155da3

[evol] migration to libgettext-ruby 2.1.0 and split rails 2.3.5, step #1

View differences:

config/initializers/new_rails_defaults.rb
# Be sure to restart your server when you modify this file.
# These settings change the behavior of Rails 2 apps and will be defaults
# for Rails 3. You can remove this initializer when Rails 3 is released.
# Include Active Record class name as root for JSON serialized output.
ActiveRecord::Base.include_root_in_json = true
if defined?(ActiveRecord)
# Include Active Record class name as root for JSON serialized output.
ActiveRecord::Base.include_root_in_json = true
# Store the full class name (including module namespace) in STI type column.
ActiveRecord::Base.store_full_sti_class = true
end
# Store the full class name (including module namespace) in STI type column.
ActiveRecord::Base.store_full_sti_class = true
ActionController::Routing.generate_best_match = false
# Use ISO 8601 format for JSON serialized times and dates.
ActiveSupport.use_standard_json_time_format = true

Also available in: Unified diff