Thanks! That helped..(.now on to the next bug...)
rick
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to
rubyonrails-tal
You're referencing params from your model - you don't have access to that.
datafile = FasterCSV.new(params[:file])
should be
datafile = FasterCSV.new(file)
Best Wishes,
Peter
On Feb 17, 2011, at 10:29 AM, rixter wrote:
> I'm new to ROR, so still getting used to the MVC syntax; but think I have
I'm new to ROR, so still getting used to the MVC syntax; but think I have a
simple example here that I hope someone can tell me what I'm doing wrong (&
maybe help someone else by doing so):
All I'm trying to do is upload a CSV file, then parse each row of data in it
(the first how contains head
3 matches
Mail list logo