Sha256: 5871ca899da4b223e9c0ebf8ab0b048b13ba9e2bcde6148a49420f0caf03693e

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

module RailsAssist::Orm
  module ActiveRecord
    include RailsAssist::Orm::Base

    def orm_marker_name name, options=nil
      'ActiveRecord::Base'
    end

    def new_model_content name, options={}, &block
      content = block ? yield : options[:content]
      file_w_inherit(name, orm_marker_name(name, options)) { content }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails_artifactor-0.5.1 lib/rails_artifactor/artifact/orm/active_record.rb