diff options
author | Yaroslav Markin <yaroslav@markin.net> | 2008-12-28 22:25:55 +0300 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2008-12-28 20:52:46 +0100 |
commit | 66ee5890c5f21995b7fe0c486547f1287afe2b55 (patch) | |
tree | 81b44888712ff3ea7093209b3235858948354d25 /activerecord/lib/active_record/transactions.rb | |
parent | 1fb275541a58e6a2100261c6117e96e6c014cc6c (diff) | |
download | rails-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 'activerecord/lib/active_record/transactions.rb')
0 files changed, 0 insertions, 0 deletions