Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: adsteel
Try this, it worked for me.
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" %>'