well, you got a few errors here and there. for example:
  path = File.join(directory, user.user_id, filename)
i guess user doesn't have a user_id but an id, so try:
  path = File.join(directory, user.id, filename)

if you post your error-message, we can try to get there step by step.
but in general it would be best if you followed some tutorials for
your first steps.
--~--~---------~--~----~------------~-------~--~----~
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 [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