Displaying 1 result from an estimated 1 matches for "callback_column".
2006 Sep 04
3
Having trouble with update_attributes() after member access
I''m having problems in a controller i am writing. i get this exception:
wrong number of arguments (1 for 0)
## this does not work:
@voicemail_user = VoicemailUser.find(session[:asterisk][:user_id])
if (@voicemail_user.password == params[:pwd][:current])
@voicemail_user.update_attributes({"password" =>
params[:pwd][:newpwd2]})
end
## but this works: