letters icon indicating copy to clipboard operation
letters copied to clipboard

Compatibility with Ransack

Open jamescway opened this issue 11 years ago • 2 comments

Rails 4.0.0, Ruby 1.9.3

NoMethodError - undefined method `v' for #<Ransack::Search:0x007ff217364ca8>:

I downloaded the Railscast repo for Ransack and upgraded it to Rails4, when I add letters into the gemfile, it causes the problem. My suspicion is that its a name collision in Ransack. Tho in my case its for ':v' which doesn't seem to have a duplicate method...

jamescway avatar Jul 10 '13 20:07 jamescway

Thanks for the note. What do you see as a good solution here? Would you like the ability to disable specific Letters? Is it a simple naming conflict, or is this a deeper problem that's specific to the Ransack library? (I haven't used Ransack.)

davejacobs avatar Jul 11 '13 03:07 davejacobs

Not sure, I'll try to narrow down what the exact conflict is. Would like to continue to use letters.

jamescway avatar Jul 11 '13 19:07 jamescway