redinger / validation_reflection

This plugin adds reflective access to validations
http://rubygems.org/gems/validation_reflection
MIT License
296 stars 18 forks source link

Yikes - breaks model.reload! #8

Closed inspire22 closed 14 years ago

inspire22 commented 14 years ago

class User < ActiveRecord::Base validates_uniqueness_of :email, :message => "is already in use on an account. Please use one email per account" end

u=User.first u.reload

-> ArgumentError: wrong number of arguments (0 for 1) method reload in testing.rb at line 40

redinger commented 14 years ago

Fixed in 0.3.8 & 1.0.0.rc.1

inspire22 commented 14 years ago

Thanks!

It looks like AR3 has built in support for validation reflections? What are the differences?