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



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

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



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

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