python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to apply i18n to Rails Ransack's sort_link
I'm using Ranksack to make search and form sorting functionality. Among them, I found that I can use sort_link to sort the table by "Name":
<th scope="col"><%= sort_link(@...
Ckt22
Votes: 0
Answers: 1
RAILS - Using Ransack as a filter. Is there a way for me to add a link to a page that leads to a filtered link?
I have a model for my Contracts and then another model for my Contract Status.
Right now when any contract is marked from active to inactive it creates a new item in my Contract Status page every sing...
Stephanie Couto
Votes: 0
Answers: 1
Is it possible for ransack to find all the related association items while searching with them?
Assume post has many categories and it has an N:N relationship and I want to search for all the posts that have a certain category AND all the categories for the resulting posts.
For example, if posts...
Nagi Asafor
Votes: 0
Answers: 1
Why Ransack doesn't show any search results
I refer to the official teaching and also read all the similar Q&A on Stackoverflow, but I am not using Pagy and AJAX, so it is not the same error.
I'm trying to search for the value of the name c...
Init
Votes: 0
Answers: 1