Commit Graph

10 Commits

Author SHA1 Message Date
Sean 09c226ad75
Update polyamorous.rb
Avoid rubocop violations.
2021-02-23 17:51:47 +01:00
Richard Weeks 1c62d55772 Make gem compatible with old polyamorous require
By providing `polyamorous.rb` in the `lib` folder, projects that
previously depended directly on `polyamorous` can just switch the
dependency to `ransack` without changing their calls to `require`.
2020-11-30 07:55:00 -08:00
Greg Molnar b89ca69069 make polyamorous a separate gem 2019-02-10 13:15:37 +01:00
Greg Molnar 09615bc0f6 load 5.2.1 polyamorous files for >= 5.2.1 2018-11-29 17:08:54 +01:00
Ryuta Kamizono b72010e7f6 Remove unused constant alias for `JoinBase`
`JoinBase#active_record` no longer exist since Rails 4.0.

See https://github.com/rails/rails/pull/10151
2018-08-18 18:17:42 +09:00
Ryuta Kamizono d4a0fa6158 Remove unused constant aliases for `Arel::{InnerJoin,OuterJoin}`
`Arel::Nodes::{InnerJoin,OuterJoin}` exists since Arel 2.2 still today.

https://github.com/rails/arel/blame/v9.0.0/lib/arel/nodes/inner_join.rb
https://github.com/rails/arel/blame/v9.0.0/lib/arel/nodes/outer_join.rb
2018-08-18 17:25:12 +09:00
Ryuta Kamizono 71054b1397 Remove unused constant aliases for `ActiveRecord::Associations::ClassMethods::*`
`ActiveRecord::Associations::ClassMethods::*` had already been moved to
`ActiveRecord::Associations::*` since Rails 3.1.

See b171b9e73d
2018-08-18 17:25:12 +09:00
yuuji.yaginuma bd55fb10b5 Add support for Rails 5.2.1
Management of alias tracker has changed in 50036e673b.
So fixed accordingly with it.
2018-08-01 21:01:37 +09:00
Greg Molnar 85664cb394 ✂️ old rails support 2018-07-03 15:22:58 +02:00
Greg Molnar d0805ac0f1 absorb polyamorous 2018-06-24 13:30:30 +02:00