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 S. wrote:
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
Your use of the variable @template is clashing with a Rails
internal variable. Try using another variable name.
–
We develop, watch us RoR, in numbers too big to ignore.