diff options
author | Amiel Martin <amiel@carnesmedia.com> | 2014-06-20 15:49:27 -0700 |
---|---|---|
committer | Amiel Martin <amiel@carnesmedia.com> | 2014-06-24 17:20:24 -0700 |
commit | 6b0e834a194d112585f41deba0a40780d68e38c6 (patch) | |
tree | feac948ca1c91cadc8c9361eeeb56f2bf1bcc965 /actionview/lib/action_view/template/handlers/builder.rb | |
parent | 5b23e31771b898cf5e715e72f75dd9427c0a0875 (diff) | |
download | rails-6b0e834a194d112585f41deba0a40780d68e38c6.tar.gz rails-6b0e834a194d112585f41deba0a40780d68e38c6.tar.bz2 rails-6b0e834a194d112585f41deba0a40780d68e38c6.zip |
Use #model_name on instances instead of classes
This allows rails code to be more confdent when asking for a model name, instead of having to ask for the class.
Rails core discussion here: https://groups.google.com/forum/#!topic/rubyonrails-core/ThSaXw9y1F8
Diffstat (limited to 'actionview/lib/action_view/template/handlers/builder.rb')
0 files changed, 0 insertions, 0 deletions