…only when ActiveRecord is according to test_help.rb).
Conflicts: railties/test/generators/app_generator_test.rb railties/test/isolation/abstract_unit.rb
Change the default for newly generated applications to whitelist all attribute assignment. Also update the generated model classes so users are reminded of the importance of attr_accessible.
…ev or --edge options (3.2.x)
… servers, Apache/Nginx are the web servers along with thin a la Heroku etc.
Add missing require to Array#wrap in generators action methods
…ne with bash, zsh, etc, closes #4602
…value of $rails_rake_task if it is already set. Fixes #4591. Signed-off-by: José Valim <email@example.com>
This behaves similarly to REQUEST_URI, but we need to implement it on our own because REQUEST_URI is not reliable. Note that since PATH_INFO does not contain information about trailing question mark, this is not 100% accurate, for example `/foo?` will result in `/foo` in ORIGINAL_FULLPATH