1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
Sean Griffin 96f3f3d826 Allow the connection adapters to determine the order of bind params
In 5.0 we use bind parameters for limit and offset, while in 4.2 we used
the values directly. The code as it was written assumed that limit and
offset worked as `LIMIT ? OFFSET ?`. Both Oracle and SQL Server have a
different syntax, where the offset is stated before the limit. We
delegate this behavior to the connection adapter so that these adapters
are able to determine how the bind parameters are flattened based on
what order their specification has the various clauses appear.

Fixes #24775
2016-05-06 11:58:01 -05:00
..
active_record Allow the connection adapters to determine the order of bind params 2016-05-06 11:58:01 -05:00
rails/generators correctly check ApplicationRecord is exist in moutable engine 2016-02-25 07:48:11 +09:00
active_record.rb Publish AS::Executor and AS::Reloader APIs 2016-03-02 02:14:20 +10:30