From: Zouplaz Date: 2006-10-06T18:30:18+09:00 Subject: RoR : Shortening this code Hello, Under Ruby On Rails, I would like to replace mouvement = Mouvement.find(params[:id]) mouvement.statut = :traite mouvement.save! By Mouvement.update(params[:id], statut ='#{:traite}'") But this error occurs : undefined method `stringify_keys!' for "statut = traite":String I don't understand the meaning of the error. Why does Ruby doesn't knows how to convert the symbol :traite to a string representation ? Even statut ='#{:traite.to_s}'" don't work Any help ? Thank you