ryoya kobayashi
ryoya kobayashi
fix japanese locales The current translations are all accompanied by a conjunction, such as “is equals”, which is not an appropriate choice for the select box, so this has been...
Closes #1552. ## Problem The built-in `_present` (and mirrored `_blank`) predicate produces broken SQL on every non-string column: ```ruby Product.ransack(stock_present: true).result.to_sql # => SELECT "products".* # FROM "products" # WHERE...
Closes #1434. ## Problem Loading the gem with warnings enabled (e.g. `ruby -W` or RSpec under `-w`) emits three "method redefined" warnings: ``` lib/ransack/nodes/condition.rb:291: warning: method redefined; discarding old arel_predicate...
Closes #1118. ## Problem When a `search_key:` is passed to `Model.ransack`, the form-building helpers ignore it. The inputs are emitted under the global default key (`q[...]`) regardless of the override:...
Closes #1150. ## Problem The low-level conditions API (`c: [{a:, v:, p:}]`) accepts `a:` (attributes) and `v:` (values) in two equivalent forms: - Hash form: `a: {'0' => {name: 'foo'}}`,...