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