Mercurial > zeropaste
comparison config/application.rb @ 195:cb30b72e8ded
Rails 4 deprecated, unused attribs removal.
| author | Edho Arief <edho@myconan.net> |
|---|---|
| date | Tue, 07 May 2013 23:59:17 +0900 |
| parents | 2b5ff3dea35c |
| children | 2d9d54b960de |
comparison
equal
deleted
inserted
replaced
| 194:442c3ad459a7 | 195:cb30b72e8ded |
|---|---|
| 25 # Application configuration should go into files in config/initializers | 25 # Application configuration should go into files in config/initializers |
| 26 # -- all .rb files in that directory are automatically loaded. | 26 # -- all .rb files in that directory are automatically loaded. |
| 27 | 27 |
| 28 # Custom directories with classes and modules you want to be autoloadable. | 28 # Custom directories with classes and modules you want to be autoloadable. |
| 29 # config.autoload_paths += %W(#{config.root}/extras) | 29 # config.autoload_paths += %W(#{config.root}/extras) |
| 30 | |
| 31 # Enable threaded mode except for rake tasks as it doesn't work quite well | |
| 32 # Reference: http://groups.google.com/group/rubyonrails-core/browse_thread/thread/b13dbe0b8f12b7dc | |
| 33 config.threadsafe! unless $rails_rake_task | |
| 34 | 30 |
| 35 # Only load the plugins named here, in the order given (default is alphabetical). | 31 # Only load the plugins named here, in the order given (default is alphabetical). |
| 36 # :all can be used as a placeholder for all plugins not explicitly named. | 32 # :all can be used as a placeholder for all plugins not explicitly named. |
| 37 # config.plugins = [ :exception_notification, :ssl_requirement, :all ] | 33 # config.plugins = [ :exception_notification, :ssl_requirement, :all ] |
| 38 | 34 |
