1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
Commit graph

7 commits

Author SHA1 Message Date
Jon Atack
70def2bc2c Fix #518: undefined method model_name
A better solution by Gleb Mazovetskiy for issue #518 "undefined method
`model_name' for Ransack::Search" which affected Rails 4.2.1 and 5.0.0.

This fix allows us to remove the ActionView patch added 10 days ago in
Ransack 1.6.4.

Closes #518.
2015-03-31 21:25:55 +05:30
Jon Atack
29428ae481 Remove unneeded namespacing 2014-11-21 20:03:20 +01:00
Jon Atack
634863cf88 Moar constants instead of string allocs for Ruby < 2.1 2014-11-21 18:45:05 +01:00
Jon Atack
a33ace336d Constants instead of string allocations for Ruby < 2.1
It costs a bit of code readability but avoids allocating
new string objects repeatedly.
2014-11-20 23:56:41 +01:00
Jon Atack
bc985c09ce Freeze string 2014-10-18 00:19:59 +02:00
jonatack
06f99e424c Code cleanup
indentation, spacing, and 80 character max width for readability
2013-12-08 21:51:43 +01:00
Ernie Miller
294015309b Initial commit. 2011-03-30 20:31:39 -04:00