Ransack version 1.4.0 - September 23, 2014
Added
- Add support for Rails 4.2.0! Let us know if you encounter any issues.
Xiang Li
Pedro Chambino
- Add
ro.yml
Romanian translation file.
Andreas Philippi
- Add new documentation in the README explaining how to group queries by
OR
instead of the defaultAND
using them: 'or'
combinator. - Add new documentation in the README and in the source code comments
explaining in detail how to handle whitelisting/authorization of
attributes, associations, sorts and scopes. - Add new documentation in the README explaining in more detail how to use
scopes for searching with Ransack. - Begin a CHANGELOG.
Jon Atack
Fixed
- Fix singular/plural Active Record attribute translations.
Andreas Philippi
- Fix the params hash being modified by
Search.new
and the Ransack scope.
Daniel Rikowski
- Apply default scope conditions for association joins (fix for Rails 3).
Avoid selecting records from joins that would normally be filtered out
if they were selected from the base table. Only applies to Rails 3, as
this issue was fixed in Rails 4.
Andrew Vit
- Fix incoherent code examples in the README Associations section that
sometimes used@q
and other times@search
.
Jon Atack
Changed
- Refactor Ransack::Translate.
- Rewrite much of the Ransack README documentation, including the
Associations section code examples and the Authorizations section detailing
how to whitelist attributes, associations, sorts and scopes.
Jon Atack