aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/aggregations_test.rb
diff options
context:
space:
mode:
authordeeeki <deeeki@gmail.com>2014-12-02 20:24:16 +0900
committerdeeeki <deeeki@gmail.com>2014-12-03 00:20:01 +0900
commit66b84c9f442b6d25040a306416c4a863a2dfb397 (patch)
tree5cfd55cfef2eecfd87b78ce9aa8a78404346de53 /activerecord/test/cases/aggregations_test.rb
parentbc8cc56a2ae0b73276782d66b7dceba1ecd294a2 (diff)
downloadrails-66b84c9f442b6d25040a306416c4a863a2dfb397.tar.gz
rails-66b84c9f442b6d25040a306416c4a863a2dfb397.tar.bz2
rails-66b84c9f442b6d25040a306416c4a863a2dfb397.zip
Allow to unscope where conditions using `arel_table` with Symbol
This commit fixes the following case. User.where(User.arel_table[:created_at].lteq(1.year.ago)).unscope(where :created_at)
Diffstat (limited to 'activerecord/test/cases/aggregations_test.rb')
0 files changed, 0 insertions, 0 deletions