diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-16 15:56:59 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-19 16:10:42 +0200 |
commit | ced68c7430216424419ecb4525d3bc6b6847f9c6 (patch) | |
tree | 15165fb2585dbe6d351d694361a0dec16b4c8bd9 /railties/configs/initializers/new_rails_defaults.rb | |
parent | 42e51ea9c03cdd4833585239c239c420cf808758 (diff) | |
download | rails-ced68c7430216424419ecb4525d3bc6b6847f9c6.tar.gz rails-ced68c7430216424419ecb4525d3bc6b6847f9c6.tar.bz2 rails-ced68c7430216424419ecb4525d3bc6b6847f9c6.zip |
App generator is working using new generators (except for templates).
Diffstat (limited to 'railties/configs/initializers/new_rails_defaults.rb')
-rw-r--r-- | railties/configs/initializers/new_rails_defaults.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/railties/configs/initializers/new_rails_defaults.rb b/railties/configs/initializers/new_rails_defaults.rb deleted file mode 100644 index 8ec3186c84..0000000000 --- a/railties/configs/initializers/new_rails_defaults.rb +++ /dev/null @@ -1,19 +0,0 @@ -# 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. - -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 - -# Use ISO 8601 format for JSON serialized times and dates. -ActiveSupport.use_standard_json_time_format = true - -# Don't escape HTML entities in JSON, leave that for the #json_escape helper. -# if you're including raw json in an HTML page. -ActiveSupport.escape_html_entities_in_json = false
\ No newline at end of file |