it's always hard to tell what's wrong with other people's code, but
let's give it another try:
- you said a simple Photo.find(params[:id]) wouldn't work. well, that
could mean either params[:id] is not set or set to a value that
doesn't exist. did you set a debugger and look at your params? what
did it tell you?

- i gotta stress this point once more: make use of the (really great)
debugger! that way you can see what's going on inside your code. set a
debugger, point your browser to that location, launch irb and hack
along!

--~--~---------~--~----~------------~-------~--~----~
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-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to