Skip to content

Ransack 1.6.6 for Rails 3, 4 and 5

Compare
Choose a tag to compare
@jonatack jonatack released this 05 Apr 11:02
· 951 commits to main since this release

Changed

  • Upgrade Polyamorous dependency to version 1.2.0, which uses Module#prepend instead of alias_method for hooking into Active Record (with Ruby 2.x).

Jon Atack

Fixed

  • An improved fix for the "undefined method model_name for Ransack::Search" issue #518 affecting Rails 4.2.1 and 5.0.0. This fix allows us to remove the ActionView patch in Ransack version 1.6.4.

Gleb Mazovetskiy

  • Fix an erroneous reference in ActiveRecord::Associations::JoinDependency to a version-dependent Active Record reference, and replace it with a better, more reliable one defined in Polyamorous. As this class lives inside an ActiveRecord module, the reference needs to be absolute in order to properly point to the AR class.

Nahuel Cuesta Luengo

  • Fix RubyGems YARD rendering of the README docs.

Jon Atack

Added

  • Add the Ruby version to the the header message that shows the database, Active Record and Arel versions when running tests.
  • Add Code Climate analysis.

Jon Atack