Forum: Ruby on Rails how to get parameters value

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Wiwi (Guest)
on 2007-06-12 02:20
(Received via mailing list)
I like to get a parameters value, and I like to print it on the
console. I tried the following expressions:

puts params[:FIRST_NAME]
puts @params['FIRST_NAME']
puts @params['person[FIRST_NAME]']

None of them is working. Please tell me how to get parameter value.
Thank you very much!
This topic is locked and can not be replied to.