diff options
author | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-17 11:59:03 -0700 |
---|---|---|
committer | Nick Kallen <nkallen@nick-kallens-computer-2.local> | 2008-05-17 11:59:03 -0700 |
commit | 3f55d33e530da1b5c454e0cfe920462d497649c8 (patch) | |
tree | 261b7a842ce9b2733bc7803b5d67a14356db6216 /lib/arel/relations | |
parent | 732b222126bd6b37925a4fcdcda832de65858122 (diff) | |
download | rails-3f55d33e530da1b5c454e0cfe920462d497649c8.tar.gz rails-3f55d33e530da1b5c454e0cfe920462d497649c8.tar.bz2 rails-3f55d33e530da1b5c454e0cfe920462d497649c8.zip |
simplificatin of attribute division
Diffstat (limited to 'lib/arel/relations')
-rw-r--r-- | lib/arel/relations/join.rb | 1 | ||||
-rw-r--r-- | lib/arel/relations/recursion.rb | 10 |
2 files changed, 0 insertions, 11 deletions
diff --git a/lib/arel/relations/join.rb b/lib/arel/relations/join.rb index 8e29f0492b..88d5f45b67 100644 --- a/lib/arel/relations/join.rb +++ b/lib/arel/relations/join.rb @@ -39,7 +39,6 @@ module Arel relation1.externalize.selects end - # XXX def relation_for(attribute) [ relation1.externalize.relation_for(attribute), diff --git a/lib/arel/relations/recursion.rb b/lib/arel/relations/recursion.rb index ea8109d87d..fa4d9969c9 100644 --- a/lib/arel/relations/recursion.rb +++ b/lib/arel/relations/recursion.rb @@ -9,19 +9,9 @@ module Arel formatter.table self end - def root? - true - end - def relation_for(attribute) self[attribute] && self end end end - - class Relation - def root? - false - end - end end
\ No newline at end of file |