Module: ActiveScaffold::Actions::FieldSearch::InstanceMethods
- Defined in:
- lib/active_scaffold/actions/field_search.rb
Instance Method Summary collapse
-
#show_search ⇒ Object
FieldSearch uses params and not @record because search conditions do not always pass the Model’s validations.
Instance Method Details
#show_search ⇒ Object
FieldSearch uses params and not @record because search conditions do not always pass the Model’s validations. This facilitates for example, textual searches against associations via .search_sql
14 15 16 17 |
# File 'lib/active_scaffold/actions/field_search.rb', line 14 def show_search @record = new_model super end |