For those who need to restrict search by field.

active_scaffold :monkey do |config|
  config.actions.exclude :search
  config.actions << :field_search
  config.field_search.columns = [:monkey_column1, :monkey_column2]
end

--------------

Just so you don't end up wasting time reinventing the wheel...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to