diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-15 18:37:47 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-03-15 18:37:47 -0700 |
commit | 7f01134d1bdca70dcc9b16cf433894e7c8236815 (patch) | |
tree | 8548b9763699555675421fb4400cac4efb889621 /lib | |
parent | cd9efb9eec6198f08b4fd5d754a33aa1b1669b37 (diff) | |
download | rails-7f01134d1bdca70dcc9b16cf433894e7c8236815.tar.gz rails-7f01134d1bdca70dcc9b16cf433894e7c8236815.tar.bz2 rails-7f01134d1bdca70dcc9b16cf433894e7c8236815.zip |
js/nk - fixed hashing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/active_relation/relations/compound.rb | 2 | ||||
-rw-r--r-- | lib/active_relation/relations/relation.rb | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/active_relation/relations/compound.rb b/lib/active_relation/relations/compound.rb index fac0939c6f..04f8ed5a2f 100644 --- a/lib/active_relation/relations/compound.rb +++ b/lib/active_relation/relations/compound.rb @@ -16,4 +16,4 @@ module ActiveRelation descend(&:qualify) end end -end
\ No newline at end of file +end diff --git a/lib/active_relation/relations/relation.rb b/lib/active_relation/relations/relation.rb index 15782cde06..e0fe43a0a0 100644 --- a/lib/active_relation/relations/relation.rb +++ b/lib/active_relation/relations/relation.rb @@ -1,7 +1,9 @@ module ActiveRelation class Relation - abstract :attributes, :selects, :orders, :inserts, :groupings, :joins, :limit, :offset, :alias - + abstract :attributes, :selects, :orders, :inserts, :groupings, :joins, :limit, :offset, :alias, :hash + + hash_on :hash + def session Session.new end |