Closed denro closed 6 years ago
I'm getting this on Rails 2.3.10, but it worked on 2.3.9.
The problem seems to be upgrading to validation_reflection 1.0.0. The previous version, 0.3.8 works fine n both Rails 2.3.9 and 2.3.8.
Strange, but I'm getting this problem on Rails 2.3.5. Anyone can share their insight on what is actually going on?
iva2k, I'm not totally sure, but it seems the problem was introduced in validation_relfection 1.0.0, so if you use 0.3.8 you should be fine in any version of Rails 2.3. Maybe validation_reflection 1.0.0 is for Rails 3.0 (but then Rails includes it's own relfection in version 3).
Just do
gem "validation_reflection", "~>0.3.8"
if you are using bundler or
config.gem "validation_relfection", :version => "~>0.3.8"
or something like that if are not.
But really, upgrade Rails, there's no reason not to; and use bundler, there's no reason not to.
Thanks for the instructions. Unfortunately I cannot update the rails version (yet). I already used the downrev to work around the problem after reading an earlier comment here.
The insight I'm looking for is what has changed in validation_reflection code to cause the problem, and potentially a fix for it.
Count me in, same error. Rails 2.3.10 / Ruby 1.8.6
Locking validation_reflection to 0.3.8 with Bundler fixed the issue for me with Rails 2.3.11
Please change the gemspec to have dependencies on rails >=3 so that bundler will not pull 1.0.0 with rails 3.
yes please update and republish gem to prevent this error.
I get this error on 2.3.9 after runnig "rake gems:install RAILS_ENV=test"
downgrading to 0.3.8 solves this