1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails
Brian Morearty 263764d13a Removed sorting of attribute names in controller generator.
I believe when people use generators, they typically order the
parameters on the command line in an order that makes sense
to them.  Sorting them in the generated code  makes the order
seem more arbitrary to humans, even though it's less arbitrary
to computers. :-)

Example:

    rails g scaffold Post title:string content:text

The human chose to put title before content. Sorted
attributes in the generated code work but don't match the
human's intent:

    params.require(:posts).permit(:content, :title)
2012-09-23 08:19:02 -07:00
..
application Remove highly uncommon config.assets.manifest option for moving the manifest path. 2012-09-19 18:02:37 -05:00
commands Support MySQL SSL in rails dbconsole. 2012-09-10 12:36:49 -07:00
console We don't need to require AS::TestCase 2012-08-14 10:01:06 -07:00
engine removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
generators Removed sorting of attribute names in controller generator. 2012-09-23 08:19:02 -07:00
rack and one more time 2012-04-24 21:56:41 -05:00
railtie Get rid of config.preload_frameworks in favor of config.eager_load_namespaces 2012-08-21 14:47:19 -03:00
tasks oops, should be directory 2012-08-13 17:15:20 -04:00
templates /rails/info/routes path shows routing information 2012-05-24 12:50:16 -05:00
test_unit ignore .gitignore'd files in rake test:uncomitted 2012-06-12 03:29:48 +09:00
all.rb The sprockets railtie was moved to sprockets/rails/railtie 2012-03-13 18:06:02 -05:00
application.rb Clarify the documentation on the Rails::Application#call method 2012-09-15 11:11:54 -04:00
backtrace_cleaner.rb Gem cont presence checking has been removed 2012-05-02 13:56:13 +03:00
cli.rb
code_statistics.rb Add code statistics for Javascript and 2012-05-31 16:18:29 +05:30
commands.rb removes usage of Object#in? from the code base (the method remains defined by Active Support) 2012-08-06 00:30:02 +02:00
configuration.rb Revert "Remove blank trailing comments" 2012-05-23 22:43:08 +05:30
deprecation.rb Remove 'assigned but unused variable' warning 2012-09-18 16:53:36 +03:00
engine.rb Updated description of what engines are used for 2012-09-21 10:57:15 -06:00
generators.rb Extract ActiveRecord::SessionStore from Rails 2012-08-24 15:24:19 -04:00
info.rb Remove Active Resource source files from the repository 2012-03-13 14:55:44 -04:00
info_controller.rb Rename RouteInspector to RoutesInspector 2012-07-08 13:49:15 -03:00
initializable.rb add :nodoc: to internal implementations [ci skip] 2012-06-22 16:29:59 -05:00
paths.rb Merge pull request #6910 from mulder/fix_path_glob 2012-07-01 02:54:33 -07:00
performance_test_help.rb * BufferedLogger is deprecated. Use ActiveSupport::Logger, or the logger 2011-12-19 18:41:37 -08:00
rack.rb Unify logger and taggedlogging middleware as both address logging concerns. 2011-10-19 22:39:11 +02:00
railtie.rb Get rid of config.preload_frameworks in favor of config.eager_load_namespaces 2012-08-21 14:47:19 -03:00
ruby_version_check.rb Update ruby_version_check. 2011-12-20 16:55:01 +01:00
rubyprof_ext.rb Replaced all 'for' loops with Enumerable#each 2012-01-30 03:15:49 +08:00
script_rails_loader.rb
source_annotation_extractor.rb Fixed styling issues brought up by @jeremy 2012-04-30 07:51:23 -06:00
tasks.rb [IMPORTANT] Make "sprockets/railtie" require explicit. 2011-06-29 09:41:16 -03:00
test_help.rb update test_help to config properly turn natural language option 2012-07-06 18:12:36 -05:00
version.rb rails/master is now 4.0.0.beta and will only support Ruby 1.9.3+ 2011-12-20 09:30:37 -06:00