Displaying 2 results from an estimated 2 matches for "assign_variables_from_control".
2006 Jan 11
1
Keep ketting weird error, NoMethodError in Admin#create_survey Keep getting ''undefined method `assign_variables_from_controller'' for #<Survey:0xb7462244>''
Hi list,
I keep getting the following error:
NoMethodError in Admin#create_survey
undefined method `assign_variables_from_controller'' for #<Survey:0xb7462244>
contents of Admin#create_survey is:
@template = Survey.find(params[''survey''][''id''])
render :layout => false
I have no idea where this comes from, bug in Rails?
--
Michiel Sikkes
michiel.sikkes@gmail.com
2006 Jul 13
10
Problem with flashes staying on between pages
I have a login page that redirects to itself if the login is
incorrect. The browser does:
get login
post login, with wrong username and password
redirect back to login
When the post action redirects back to login it sets a flash telling
the user it failed. So far so good. The problem is that if I get
another page after that, the flash is still there. It only disapears
on the second.