Allow authenticatable to used in change_table statements
This commit is contained in:
parent
1b6f1b9752
commit
2a9e8dca73
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue