How to delete a condition

0 views
Skip to first unread message

Correo Personal jairud

unread,
Jul 16, 2010, 1:13:22 PM7/16/10
to Searchlogic
Hi:
I required delete a condition in the searchlogic object:
The example is this:
#params[:search] have the conditions
@search = User.searchlogic(params[:search])
#I want to delete the active_id_not condition
#this doesn't function for me
@search.conditions.delete(:active_id_not) if "any_condition"
Reply all
Reply to author
Forward
0 new messages