redinger / validation_reflection

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

RAILS_ROOT deprecated in Rails 3 #7

Closed halo closed 14 years ago

halo commented 14 years ago

RAILS_ROOT is deprecated! Use Rails.root instead. (called from join at /home/.../.bundle/ruby/1.8/gems/validation_reflection-0.3.6/lib/validation_reflection.rb:36)

I would fork and fix this for you if only i knew whether this is backwards compatible.

halo commented 14 years ago

I'm sorry, Rails 3 has validation_reflection built-in, as I just found out. This issue can be closed :)