Please don't take this as any negativity, its awesome to see you guys are prepped for Rails 6.0 master :)
That being said I just spent a bit of time I hope to save for others to say that Rails RC1 does not have the change in method signature to ::ActiveRecord::Associations::JoinDependency.initialize that is being used by Ransack when you're running Rails 6.
It might have been good for the commits to Ransack to prepare by using .rc2 instead of .rc1 but I'm not sure myself and it isn't the point of this issue.
The commit changing ::ActiveRecord::Associations::JoinDependency.initialize was committed a few days after Rails RC1 was cut(rails/rails#36120) but Ransack is already attempting to use it if it detects your Rails version is >= Rails 6.0.0.rc1
It is up to the Ransack team as to whether they'd like to make changes given that Rails hopefully will cut a RC2 soon and this issue will become moot. I just wanted to let other developers figure this issue out more quickly as they're upgrading or using Rails 6.
Please don't take this as any negativity, its awesome to see you guys are prepped for Rails 6.0 master :)
That being said I just spent a bit of time I hope to save for others to say that Rails RC1 does not have the change in method signature to
::ActiveRecord::Associations::JoinDependency.initializethat is being used by Ransack when you're running Rails 6.It might have been good for the commits to Ransack to prepare by using
.rc2instead of.rc1but I'm not sure myself and it isn't the point of this issue.The commit changing
::ActiveRecord::Associations::JoinDependency.initializewas committed a few days after Rails RC1 was cut(rails/rails#36120) but Ransack is already attempting to use it if it detects your Rails version is >= Rails 6.0.0.rc1It is up to the Ransack team as to whether they'd like to make changes given that Rails hopefully will cut a RC2 soon and this issue will become moot. I just wanted to let other developers figure this issue out more quickly as they're upgrading or using Rails 6.