Skip to content
Discussion options

You must be logged in to vote

@Chucheen I was hitting the same issue and just managed to fix it by using strings instead of symbols

     def ransackable_attributes(_auth_object = nil)
-        %i(name email key)
+        %w(name email key)
     end

See activerecord-hackery/ransack#1538

Hopefully that works for you to.

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Houdini
Comment options

Answer selected by tagliala
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #8494 on October 02, 2024 04:57.