lib/faalis/configuration.rb in faalis-2.0.0 vs lib/faalis/configuration.rb in faalis-2.0.1
- old
+ new
@@ -13,10 +13,10 @@
# :mongoid (bson_ext recommended) by default. Other ORMs may be
# available as additional gems.
# ORM name to use. either 'active_record' or 'mongoid'
mattr_accessor :orm
- def self.orm=(orm_name)
+ def orm=(orm_name)
@@orm = orm_name
require "devise/orm/#{orm_name}"
end
# We have to move this method somewhere else