Hi,

Just a newbie at Rails. Was looking at uploading images using
attachment_fu and RMagick on a Windows Vista machine, but was getting
this error. Any possible way of fixing this problem?

ActiveRecord::Errors.default_error_messages has been deprecated. Please
use I18n.translate('activerecord.errors.messages')

I guess it's attributed to this line in attachment_fu.rb

errors.add attr_name,
ActiveRecord::Errors.default_error_messages[:inclusion] unless enum.nil?
|| enum.include?(send(attr_name))

Can anyone help? Thanks!

Wayne
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to