aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/polymorphic_routes.rb
diff options
context:
space:
mode:
authorYaroslav Markin <yaroslav@markin.net>2008-12-28 22:25:55 +0300
committerDavid Heinemeier Hansson <david@loudthinking.com>2008-12-28 20:52:46 +0100
commit66ee5890c5f21995b7fe0c486547f1287afe2b55 (patch)
tree81b44888712ff3ea7093209b3235858948354d25 /actionpack/lib/action_controller/polymorphic_routes.rb
parent1fb275541a58e6a2100261c6117e96e6c014cc6c (diff)
downloadrails-66ee5890c5f21995b7fe0c486547f1287afe2b55.tar.gz
rails-66ee5890c5f21995b7fe0c486547f1287afe2b55.tar.bz2
rails-66ee5890c5f21995b7fe0c486547f1287afe2b55.zip
Introduce dynamic scopes for ActiveRecord: you can now use class methods like scoped_by_user_name(user_name) and scoped_by_user_name_and_password(user_name, password) that will use the scoped method with attributes you supply. [#1648 state:committed]
Signed-off-by: David Heinemeier Hansson <david@loudthinking.com>
Diffstat (limited to 'actionpack/lib/action_controller/polymorphic_routes.rb')
0 files changed, 0 insertions, 0 deletions