diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2010-01-18 04:38:19 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2010-01-18 04:38:19 +0530 |
commit | d60bb0a9e4be2ac0a9de9a69041a4ddc2e0cc914 (patch) | |
tree | 0189bf9fe9888963df51987e5e330b09e2e19b59 /activerecord/test/models/organization.rb | |
parent | e1d507c7fb541d29d57d152f40e3a539e70781d0 (diff) | |
download | rails-d60bb0a9e4be2ac0a9de9a69041a4ddc2e0cc914.tar.gz rails-d60bb0a9e4be2ac0a9de9a69041a4ddc2e0cc914.tar.bz2 rails-d60bb0a9e4be2ac0a9de9a69041a4ddc2e0cc914.zip |
Rename named_scope to scope
Diffstat (limited to 'activerecord/test/models/organization.rb')
-rw-r--r-- | activerecord/test/models/organization.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/models/organization.rb b/activerecord/test/models/organization.rb index c85726169e..1da342a0bd 100644 --- a/activerecord/test/models/organization.rb +++ b/activerecord/test/models/organization.rb @@ -2,5 +2,5 @@ class Organization < ActiveRecord::Base has_many :member_details has_many :members, :through => :member_details - named_scope :clubs, { :from => 'clubs' } + scope :clubs, { :from => 'clubs' } end
\ No newline at end of file |