Skip to content

Instantly share code, notes, and snippets.

@liangzan
Created September 5, 2010 03:02
Show Gist options
  • Save liangzan/565701 to your computer and use it in GitHub Desktop.
Save liangzan/565701 to your computer and use it in GitHub Desktop.
# lib/formtastic.rb
def select_input(method, options)
...
collection = find_collection_for_column(method, options)
self.select(input_name, collection, strip_formtastic_options(options), html_options)
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment