Sha256: 88f436e2a5019cad86a43565ebdff0607241470a906095d7ff592de39d712915
Contents?: true
Size: 302 Bytes
Versions: 9
Compression:
Stored size: 302 Bytes
Contents
class SessionMigrationGenerator < Rails::Generator::NamedBase def initialize(runtime_args, runtime_options = {}) runtime_args << 'add_session_table' if runtime_args.empty? super end def manifest record do |m| m.migration_template 'migration.rb', 'db/migrate' end end end
Version data entries
9 entries across 9 versions & 1 rubygems