Module: ActiveScaffold::Bridges::CountryHelper::SearchColumnHelpers

Defined in:
lib/active_scaffold/bridges/country_helper/country_helper_bridge.rb

Instance Method Summary collapse

Instance Method Details

#active_scaffold_search_country(column, options) ⇒ Object



347
348
349
# File 'lib/active_scaffold/bridges/country_helper/country_helper_bridge.rb', line 347

def active_scaffold_search_country(column, options)
  active_scaffold_input_country(column, options.merge!(:selected => options.delete(:value)))
end

#active_scaffold_search_usa_state(column, options) ⇒ Object



351
352
353
# File 'lib/active_scaffold/bridges/country_helper/country_helper_bridge.rb', line 351

def active_scaffold_search_usa_state(column, options)
  active_scaffold_input_usa_state(column, options.merge!(:selected => options.delete(:value)))
end