diff --git a/CHANGELOG.rdoc b/CHANGELOG.rdoc index f5e1aab7..82da4797 100644 --- a/CHANGELOG.rdoc +++ b/CHANGELOG.rdoc @@ -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 diff --git a/lib/devise/orm/active_record.rb b/lib/devise/orm/active_record.rb index 4cda6f8a..4181b0d9 100644 --- a/lib/devise/orm/active_record.rb +++ b/lib/devise/orm/active_record.rb @@ -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 \ No newline at end of file