1
0
Fork 0
mirror of https://github.com/activerecord-hackery/ransack.git synced 2022-11-09 13:47:45 -05:00
activerecord-hackery--ransack/spec/ransack
Ryan Bigg 25ba7e3a8f Add ability to use a named route when using sort_link
For example,

sort_link [:engine, Engine::Model.search]

Will use the engine's routing to determine where the route should go. The :engine symbol here should be the name of your engine, i.e. the engine_name setting which generally defaults to the downcased version of your engine's module.

Addresses problem discussed in #84.
2012-03-29 08:01:22 -05:00
..
adapters/active_record More specs 2011-07-17 19:40:07 -04:00
helpers Add ability to use a named route when using sort_link 2012-03-29 08:01:22 -05:00
nodes Keep array values in "simple mode" when a predicate wants array (Fixes #20) 2011-09-02 12:42:58 -04:00
configuration_spec.rb Enable TravisCI, add spec for add_predicate 2011-07-17 19:04:00 -04:00
predicate_spec.rb Don't use present? to check for presence (allow false as value). Fixes #9 2011-07-17 10:46:30 -04:00
search_spec.rb RSpec have() runs afoul of uniq stuff in AR3.2 2012-02-15 15:29:57 -05:00