Allow authenticatable to used in change_table statements

This commit is contained in:
José Valim 2010-02-09 00:26:26 +01:00
parent 1b6f1b9752
commit 2a9e8dca73
2 changed files with 3 additions and 1 deletions

View File

@ -5,6 +5,7 @@
* Added Registerable
* Added Http Basic Authentication support
* Allow scoped_views to be customized per controller/mailer class
* [#99] Allow authenticatable to used in change_table statements
== 0.9.2

View File

@ -36,5 +36,6 @@ end
if defined?(ActiveRecord)
ActiveRecord::Base.extend Devise::Models
ActiveRecord::ConnectionAdapters::Table.send :include, Devise::Orm::ActiveRecord
ActiveRecord::ConnectionAdapters::TableDefinition.send :include, Devise::Orm::ActiveRecord
end
end