Sha256: 1c5b4d8bdf2bcdd44b2e1937d6aa7da6a001238637e73566d0ca9ebe7754c758
Contents?: true
Size: 313 Bytes
Versions: 1
Compression:
Stored size: 313 Bytes
Contents
module Medea module ActiveModelMethods def to_model jason_key end def errors obj = Object.new def obj.[](key) [] end def obj.full_messages() [] end obj end def persisted? jason_state == :stale end def valid? true end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
medea-0.2.16 | lib/medea/active_model_methods.rb |