i corrected the "if params[:exp] == '1'".
 but i want to save the input got from the radio button to an variable 
so that i can compare it with another string and with the result of the 
comparison i need to increment a count variable SO so i thought i ve no 
other way other than global variable to use it across views and 
controllers.But even when i tried the $ way ,@@ way @ way , when I 
assign params[:exp] to it it is not getting displayed.Kindly suggest me 
a alternative solution.

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