search for: attribute_filt

Displaying 1 result from an estimated 1 matches for "attribute_filt".

Did you mean: attribute_filter
2006 Aug 02
5
Fun with ez_where
I''ve been trying to use the ez_where plugin to create a dynamic finder. The structure looks somehing like this.. === controller === def list attribute_filter = params[:filter] @filter = Caboose::EZ::Condition.new :table do attribute <=> attribute_filter if attribute_filter end # ... do the find with the @filter # end === view === .... <%= link_to ''Add filter'', {:filter=>value}.merge(params) %> this work...