I have been trying to import data to my ruby on rails aplication 4.2 hosted in heroku with a database in pg. I tried this tutorial and it didnt worked:
http://railscasts.com/episodes/396-importing-csv-and-excel?view=asciicast Say no method import in dreams controller.
Any body knows a good way to import data to my app? Thanks! Felipe
If it says no method
import
in dreams_controller it would appear that you did not properly define theimport
method. In other words, you either skipped or messed up this portion of the tutorial:/app/controllers/products_controller.rb
If you could post the code it would be much easier to help.