Sha256: 9d809b2f0b6bd0b14620751465c0439b370393d246e4b2d4076db5bcaed16d87
Contents?: true
Size: 530 Bytes
Versions: 1
Compression:
Stored size: 530 Bytes
Contents
# :nodoc: namespace module AuthpwnRails class UserMigrationGenerator < Rails::Generators::Base source_root File.expand_path("../templates", __FILE__) def create_session_model template 'user_token.rb', File.join('app/models', class_path, 'user.rb') template '001_create_users.rb', File.join('db/migrations', '20100725000001_create_users.rb') template 'users.yml', File.join('test/fixtures', 'users.yml') end end # class AuthpwnRails::UserMigrationGenerator end # namespace AuthpwnRails
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
authpwn_rails-0.3.0 | lib/authpwn_rails/generators/user_migration_generator.rb |