Praveen Jayarajan wrote:
Hi
I am on Rails 1.2.6, but want to get my app running without warning's so i can move to 2.0.2.
I'm currently getting the folowing warning:
"has_avatar? is deprecated and will be removed from Rails 2.0 (use ! avatar insead)"
That's a pretty odd deprecation notice. There's no "avatar" methods in Rails. Perhaps you have deprecated code inside your has_avatar?
method? Could you post the contents of that method?
Not really: if you have an association you used to get a has_foo?
method. Rails is telling you that has_foo? is going away and that you
should just test whether foo is nil or not.
Fred