Sha256: f1e10bfd257d0aaeb8694f736357f7e2a0e40458b31fca69a1d700ec1c85211d

Contents?: true

Size: 308 Bytes

Versions: 104

Compression:

Stored size: 308 Bytes

Contents

# frozen_string_literal: true

require 'rails/generators/active_record'
require 'generators/declare_schema/support/model'

module DeclareSchema
  class ModelGenerator < ActiveRecord::Generators::Base
    source_root File.expand_path('templates', __dir__)

    include DeclareSchema::Support::Model
  end
end

Version data entries

104 entries across 104 versions & 1 rubygems

Version Path
declare_schema-2.3.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.3.0 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.3.0.pre.is.0 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.2.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.2.0.colin.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.2.0 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.1.0 lib/generators/declare_schema/model/model_generator.rb
declare_schema-2.1.0.pre.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.4.0 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.4.0.colin.11 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.6 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.6.colin.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.5 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.5.colin.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.4.0.colin.9 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.4 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.4.colin.1 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.4.0.colin.8 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.3 lib/generators/declare_schema/model/model_generator.rb
declare_schema-1.3.3.colin.1 lib/generators/declare_schema/model/model_generator.rb