bcardarella / valid_attribute

Minimalist validation BDD for ActiveModel specs
178 stars 18 forks source link

Rails 3.1 compatibility #4

Closed adampearse closed 13 years ago

adampearse commented 13 years ago

Updated the matcher and corresponding specs so they no longer rely on ActiveModel::Errors inheriting from OrderedHash. This gets it working with Rails 3.1 and should be backwards compatible with 3.0.x. Tested against Rails 3.0.7 and 3.1.0.rc1.