ransack Questions

1

Solved

I have two different controllers (scholarships_controller, scholarships_browse_controller) that look at the scholarship model. I want my Ransack search function to show the search results on the cu...
Theatricals asked 28/2, 2013 at 22:55

2

Solved

I'm a bit confused with using an advanced ransack search. I'm trying do make a custom search where not all table names can be selected as search terms and not all predicates are used. I used railsc...
Intentional asked 21/9, 2012 at 10:41

1

I've created a form that supplies search criteria: = search_form_for @q do |f| %h3 Search: = f.label :category_id %br = f.collection_select :category_id_eq, Category.all, :id, :name, :includ...
Unlicensed asked 29/9, 2011 at 2:43

1

Solved

I'm wondering if anyone has experience using Ransack with HABTM relationships. My app has photos which have a habtm relationship with terms (terms are like tags). Here's a simplified explanation of...
Spinose asked 16/11, 2012 at 2:44

1

Solved

I've been trying (unsuccessfully so far) to use the out of the box in-form sorting provided by the ransack gem, and the result of it unfortunately is an empty form. Here's what I've done so far: ...
Luting asked 5/11, 2012 at 22:31

1

Solved

Our project is using Ransack at the moment, we are thinking to introduce Thinking-Sphinx. However they both use search keyword. Is any way to use Thinking-Sphinx and Ransack in a same project? Tha...
Ruffianism asked 12/4, 2012 at 2:46

2

Solved

I'm using rails ransack ( https://github.com/ernie/ransack ) to allow the users to filter and sort some records. I get the filtered and sorted records using traditional methods. @invoices = Invoi...
Adrienneadrift asked 28/2, 2012 at 23:24

© 2022 - 2024 — McMap. All rights reserved.