You're trying to call ['imagepath'] on your Upload class. I'm not entirely 
sure what you're trying to do with that line of code?

Maybe you meant to do something like this and call it on the instance of the 
Upload class?

  session[:user].imagepath

Have you thought about using something like "will_paginate" to handle your 
file uploads? It would probably make your life a lot easier.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/daBxkgqylfcJ.
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/rubyonrails-talk?hl=en.

Reply via email to