Reversing query to use gem.
Bugs for not using ujs…