Sha256: a4354f51a2246cffc4c800ffb54e0c76533a0eb85ca3fba4eb5f5a8fd0f0055e

Contents?: true

Size: 535 Bytes

Versions: 36

Compression:

Stored size: 535 Bytes

Contents

require 'rails/generators/named_base'
require 'rails/generators/migration'
require 'rails/generators/active_model'
require 'rails/generators/active_record/migration'
require 'active_record'

module ActiveRecord
  module Generators
    class Base < Rails::Generators::NamedBase #:nodoc:
      include Rails::Generators::Migration
      extend ActiveRecord::Generators::Migration

      # Set the current directory as base for the inherited generators.
      def self.base_root
        File.dirname(__FILE__)
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 2 rubygems

Version Path
activerecord-3.0.20 lib/rails/generators/active_record.rb
activerecord-3.0.19 lib/rails/generators/active_record.rb
activerecord-3.0.18 lib/rails/generators/active_record.rb
activerecord-3.0.17 lib/rails/generators/active_record.rb
activerecord-3.0.16 lib/rails/generators/active_record.rb
activerecord-3.0.15 lib/rails/generators/active_record.rb
activerecord-3.0.14 lib/rails/generators/active_record.rb
activerecord-3.0.13 lib/rails/generators/active_record.rb
activerecord-3.0.13.rc1 lib/rails/generators/active_record.rb
activerecord-3.0.12 lib/rails/generators/active_record.rb
activerecord-3.0.12.rc1 lib/rails/generators/active_record.rb
activerecord-3.0.11 lib/rails/generators/active_record.rb
activerecord-3.0.10 lib/rails/generators/active_record.rb
activerecord-3.0.10.rc1 lib/rails/generators/active_record.rb
activerecord-3.0.9 lib/rails/generators/active_record.rb
activerecord-3.0.9.rc5 lib/rails/generators/active_record.rb
activerecord-3.0.9.rc4 lib/rails/generators/active_record.rb
activerecord-3.0.9.rc3 lib/rails/generators/active_record.rb
activerecord-3.0.9.rc1 lib/rails/generators/active_record.rb
activerecord-3.0.8 lib/rails/generators/active_record.rb