Sha256: 00057bf6dcd622f136bebdfeb5687c975feb80f6bc61e41a17fc1baa2e6516d1
Contents?: true
Size: 327 Bytes
Versions: 8
Compression:
Stored size: 327 Bytes
Contents
class Tableless include ActiveModel::Validations include ActiveModel::Conversion extend ActiveModel::Naming attr_accessor :title validates :title, presence: true def initialize(attributes = {}) attributes.each do |name, value| send("#{name}=", value) end end def persisted? false end end
Version data entries
8 entries across 8 versions & 1 rubygems