From: Joshua Muheim Date: 2006-08-20T00:06:51+09:00 Subject: attributes[:xxx] does not work within model? Hi all I have a model User that contains the attribute avatar. I'd like to rewrite the avatar method with something like that: def avatar "#{file_path}/#{attributes[:avatar]}" end Sadly attributes[:avatar] doesn't seem to have any content (nil). What have I done wrong? Thanks, Josh -- Posted via http://www.ruby-forum.com/.