Displaying 1 result from an estimated 1 matches for "6c59ce95".
2006 Apr 28
2
Trying to turn params field into a variable
Hi guys,
I have another question, we have this line on our .rb code:
@variable = params [:user][:bird]
I need to be able to change the 2nd field into a variable because it is
a changing valuename, I was wondering if you had any trick for that.
Meaning I need to make [:bird] into [:dog] or [:cat]...
It''s proven really tricky for me to get it to change I wonder if you
guys had any