Sha256: cbeef15c549170216e5defdf84c1c7709936f4c3fc4c88f729d8b578efb4e91c
Contents?: true
Size: 266 Bytes
Versions: 1
Compression:
Stored size: 266 Bytes
Contents
require "active_record" module JamJar class Model < ActiveRecord::Base self.abstract_class = true def self.name "TestModel" end def self.column(name, type) self.connection.add_column(self.table_name, name, type) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jamjar-1.1.0 | lib/jamjar/model.rb |