I see now that I can talk to a file on my own computer by doing this:

require 'csv'

controller class stuff...

CSV.open("#{RAILS_ROOT}\file_location\filename.csv", 'r') do |row|

do stuff...

end

so the conclusion is, don't need to link external files

On Jul 7, 5:02 pm, WaterRecMan <[EMAIL PROTECTED]> wrote:
> I previously used ActiveRecord::Base to putcsvdata into my database.
> Now I want to do the same thing in Heroku, but I can't find a place to
> save thecsvfile so it knows where to look when I run active record.
> So my big question is how do we deal with external files in Heroku?
>
> thank you.
>
> Jason
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to