lib/generators/data_mapper/devise_generator.rb in dm-devise-1.1.2 vs lib/generators/data_mapper/devise_generator.rb in dm-devise-1.1.3
- old
+ new
@@ -1,10 +1,10 @@
require 'generators/devise/orm_helpers'
module DataMapper
module Generators
class DeviseGenerator < Rails::Generators::NamedBase
- include Devise::Generators::OrmHelpers
+ include ::Devise::Generators::OrmHelpers
def generate_model
invoke "data_mapper:model", [name] unless model_exists?
end