Sha256: 4d74f2a3f4289062ebc0cd2f9ad5c18818565034703dfaa812e916d6e8da87f3
Contents?: true
Size: 618 Bytes
Versions: 4
Compression:
Stored size: 618 Bytes
Contents
gem 'devise' after_bundler do generate 'devise:install' if recipes.include? 'mongo_mapper' gem 'mm-devise' gsub_file 'config/initializers/devise.rb', 'devise/orm/', 'devise/orm/mongo_mapper_active_model' generate 'mongo_mapper:devise User' elsif recipes.include? 'mongoid' gsub_file 'config/initializers/devise.rb', 'devise/orm/active_record', 'devise/orm/mongoid' end generate 'devise user' end __END__ name: Devise description: Utilize Devise for authentication, automatically configured for your selected ORM. author: mbleigh category: authentication exclusive: authentication
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rails_wizard-0.1.5 | recipes/devise.rb |
rails_wizard-0.1.4 | recipes/devise.rb |
rails_wizard-0.1.3 | recipes/devise.rb |
rails_wizard-0.1.2 | recipes/devise.rb |