Created
November 18, 2011 02:02
-
-
Save thejonanshow/1375324 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- f.fields_for :integration_store_codes do |builder| | |
= builder.label :active | |
= builder.check_box :active | |
# in the middle of my form I want access to the original object so I can output it's associated store's name | |
= builder.magically_turns_into_an_integration_store_code.store.name | |
= builder.label :code | |
= builder.text_field :code |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What an amazing gist.