Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Adam's Profile

GitHub User: adsteel


Comments by Adam


Anyone have any tips for adding a foreign key? Say in Ryan's example, Factory had many Products, and one wanted to upload Products from a CSV that did not contain a foreign key to the Factory each Product belonged to. Thanks!


Hammer, you need an equal sign after '<%', before 'submit_tag', like this:

'<%= submit tag "Import" %>'

Good luck!