Abder-Rahman Ali wrote:
> Thanks @radhames.
> 
> But, still, I cannot get the idea of:
> 
> params[:photo]['photo']
> 
> And how it is represented.
> 
> Can you clarify on this?

What part of that syntax don't you understand?

If the square brackets, review Hash syntax in Ruby.

If the nesting, read up on what Rails puts in the params hash.

Ask if you have further questions.

> 
> Thanks.

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone
-- 
Posted via http://www.ruby-forum.com/.

-- 
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