aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/postgresql/collation_test.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2015-08-13 13:40:55 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2015-08-13 13:41:03 -0700
commit33dc653466c0058740611259956712a9027801b3 (patch)
tree120ef7ec5fe902bd643759832940b433cfebfca7 /activerecord/test/cases/adapters/postgresql/collation_test.rb
parentb4b4a611d0eb9aa1c640c5f521c6a43bf2a65bab (diff)
downloadrails-33dc653466c0058740611259956712a9027801b3.tar.gz
rails-33dc653466c0058740611259956712a9027801b3.tar.bz2
rails-33dc653466c0058740611259956712a9027801b3.zip
raise if `anchor` is passed to `scope`
The `anchor` parameter [is overridden](https://github.com/rails/rails/blob/b4b4a611d0eb9aa1c640c5f521c6a43bf2a65bab/actionpack/lib/action_dispatch/routing/mapper.rb#L1528) unless it is directly passed to `match`, so setting it in a scope must be a mistake.
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql/collation_test.rb')
0 files changed, 0 insertions, 0 deletions