diff options
author | Radoslav Stankov <rstankov@gmail.com> | 2012-04-29 21:17:57 +0300 |
---|---|---|
committer | Radoslav Stankov <rstankov@gmail.com> | 2012-05-17 02:36:13 +0300 |
commit | 64872d1e34d929ee30041b37900591aade2a5eaf (patch) | |
tree | 65288d3fdd80559ecbe655c15b83ce19e49c8906 /activerecord/lib/active_record/null_relation.rb | |
parent | 78b6fdd89f541dfedd369da9957ee6eab9a8a586 (diff) | |
download | rails-64872d1e34d929ee30041b37900591aade2a5eaf.tar.gz rails-64872d1e34d929ee30041b37900591aade2a5eaf.tar.bz2 rails-64872d1e34d929ee30041b37900591aade2a5eaf.zip |
Relation#from to accept other Relation objects
Record.from("(#{sub_query.to_sql})") -> Record.from(sub_query)
Record.from("(#{sub_query.to_sql}) a") -> Record.from(sub_query, :a)
Diffstat (limited to 'activerecord/lib/active_record/null_relation.rb')
0 files changed, 0 insertions, 0 deletions