-
I'm getting a ``NoMethodError: undefined method `children' for nil:NilClass`` error when calling the following query:
```ruby
Profile.joins(:plan).ransack(favorites_id_not_null: true).result
```
…
-
This query simply ignores `custom_scope`.
```ruby
Model.ransack({ groupings: [{custom_scope: 'bla'}]}).result.to_sql
```
Scope is defined as:
```ruby
scope :custom_scope, ->(name) { ... }
…
-
I'm using ransack filters from ['administrate_ransack'](https://github.com/blocknotes/administrate_ransack) for replicate the solidus_backend fields search functionality.
At this moment the choosin…
-
I know I've already proposed this and I know that we'll have Criterias, but since no other package has this functionality (I've searched a lot before makin my own custom implementation) it would be aw…
ghost updated
7 years ago
-
Joining fails when using multiple search patterns at once, when joining a table that ransack wants to join later for searching.
Having these aliases in the Order model (Order belongs to Collection …
-
Hello,
We use a lot of default scopes / searches and sorts with ransack, for example we have in our controller
```ruby
def index
q = Tiger.preload(:animal, :cage).search(params[:q])
q.by_…
-
Github has [search syntax](https://docs.github.com/en/search-github/getting-started-with-searching-on-github/understanding-the-search-syntax). Can we do the same with ransack? For example, query "x:1 …
-
Ransack version: 4.0.0
The documentation doesn't agree with what ransack does. Despite the existence of predicates, "*_cont" for LIKE and "*_i_cont" for ILIKE, for PostgreSQL it treats both as on…
-
I use the globalize gem for managing internationalized attributes of models. When I try to sort on the translated attribute of an association and add a custom join to the translations of the main mode…
-
Provide full-text search for MySQL via Ransack.
This issue was split out of https://github.com/activerecord-hackery/ransack/issues/1138