Base
default search params default_params = {:title => {"from"=>"test", "to"=>"", "opt"=>"%?%"}}
provides access to the list of columns specifically meant for the Search to use
# File lib/active_scaffold/config/field_search.rb, line 39 def columns # we want to delay initializing to the @core.columns set for as long as possible. Too soon and .search_sql will not be available to .searchable? unless @columns self.columns = @core.columns._inheritable self.columns.exclude @core.columns.active_record_class.locking_column.to_sym end @columns end
Generated with the Darkfish Rdoc Generator 2.