aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations.rb
diff options
context:
space:
mode:
authorRadoslav Stankov <rstankov@gmail.com>2012-04-29 21:17:57 +0300
committerRadoslav Stankov <rstankov@gmail.com>2012-05-17 02:36:13 +0300
commit64872d1e34d929ee30041b37900591aade2a5eaf (patch)
tree65288d3fdd80559ecbe655c15b83ce19e49c8906 /activerecord/lib/active_record/validations.rb
parent78b6fdd89f541dfedd369da9957ee6eab9a8a586 (diff)
downloadrails-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/validations.rb')
0 files changed, 0 insertions, 0 deletions