Sha256: cd6dcf04e80cd61d7acbb5920f047ce2aaaa95b52d4efa2da0386989d9a4e3ff
Contents?: true
Size: 634 Bytes
Versions: 1
Compression:
Stored size: 634 Bytes
Contents
class G5Authenticatable::InstallGenerator < Rails::Generators::Base include Rails::Generators::Migration source_root File.expand_path('../templates', __FILE__) # Required for Rails::Generators::Migrations def self.next_migration_number(dirname) next_migration_number = current_migration_number(dirname) + 1 ActiveRecord::Migration.next_migration_number(next_migration_number) end def create_users_migration filename = 'create_g5_authenticatable_users.rb' migration_template filename, "db/migrate/#{filename}" end def mount_engine route "mount G5Authenticatable::Engine => '/g5_auth'" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
g5_authenticatable-0.3.0 | lib/generators/g5_authenticatable/install/install_generator.rb |