(cherry picked from commit 1f7c3d0)
db:schema:dump (cherry picked from commit e9a2ff8)
… access the owner from the associated record
…the owner has been saved. Fixes #1524.
Set reverse_order_value when asked to reverse_order(). Do the actual reversal in build_arel.
ActiveSupport::Dependencies now raises NameError if it finds an existing constant in load_missing_constant. This better reflects the nature of the error which is usually caused by calling constantize on a nested constant. Closes #1423
Ar collection new alias
…ects an issue where the collection proxies were not consistent
…t's set in the default scope. Fixes #1395.
…ation. Fixes #1360.
…eted the branch so I cannot just merge it.
… Fixes #1264.
…t_scope (as well as having Relation#arel respect the default scope). Fixes #1233.
…d. fixes #796
…ined in an abstract superclass. Fixes #552.
Documentation Error Fixed for ticket #839
Handle polymorphic_type NOT NULL columns