davejacobs / letters

A tiny debugging library for Ruby
Other
271 stars 9 forks source link

Compatibility with Ransack #19

Open jamescway opened 11 years ago

jamescway commented 11 years ago

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...

davejacobs commented 11 years ago

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.)

jamescway commented 11 years ago

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