I just tried updating a project to use DataMapper 1.2 (from 1.1) and now I'm getting this error:
/home/joe/.rvm/gems/ruby-1.9.2-p290@marketplace-admin/gems/dm-core-1.2.0/lib/dm-core/model/relationship.rb:372:in `method_missing': undefined method `opts_from_validator_args' for Category:Class (NoMethodError)
It's happening on a line where I call has_attached_file
from dm-paperclip. I tried updating to dm-paperclip-r3, since the project is on Rails 3, but that didn't help.
Any ideas as to what might cause this error?