I can't seem to find a tutorial on how to do this.
Here's what i have in my controller
Code Ruby:def update_lang_pref @language = Person.find(session[:user]) if @language.update_attributes(:lang_pref) redirect_to request.env['HTTP_REFERER'] end
and i'm getting an error "can't dup Symbol". Parameters is reading "lang_pref"=>"1"
what am i doing wrong? Any help is appreciated.




Bookmarks