# File lib/active_record/named_scope.rb, line 17 def scopes read_inheritable_attribute(:scopes) || write_inheritable_attribute(:scopes, {}) end