Sha256: 0a9c3e75f0fb1bdc22f164f840f9ef0319301e9f19c1f39fbd2eb228b350353d
Contents?: true
Size: 357 Bytes
Versions: 6
Compression:
Stored size: 357 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
6 entries across 6 versions & 1 rubygems