diff options
author | Raimonds Simanovskis <raimonds.simanovskis@gmail.com> | 2011-01-04 11:21:03 +0200 |
---|---|---|
committer | Raimonds Simanovskis <raimonds.simanovskis@gmail.com> | 2011-01-04 11:21:03 +0200 |
commit | 1d758d9086724faa4f46554135f304fa570c507d (patch) | |
tree | 054649a68a1e19d4343b2373ac0a9c019bb7b222 /activerecord/lib/active_record/validations.rb | |
parent | 40afcade0dc1450e765a91fc15a6ac6d442c9826 (diff) | |
download | rails-1d758d9086724faa4f46554135f304fa570c507d.tar.gz rails-1d758d9086724faa4f46554135f304fa570c507d.tar.bz2 rails-1d758d9086724faa4f46554135f304fa570c507d.zip |
require ActiveSupport deprecatation file before using deprecate method in database_statements
otherwise when using external ActiveRecord adapters (e.g. Oracle) database_statements might be loaded before active_support/core_ext/module/deprecation which results in NoMethodError (commit 60cf65def805995bcca184c40b44bb01d86a48aa added "deprecate" call to database_statements.rb)
Diffstat (limited to 'activerecord/lib/active_record/validations.rb')
0 files changed, 0 insertions, 0 deletions