Sha256: cdd5bd9a1f8cf783e2644d540fd31e10aa9f213d3130a3fa7b8d4a5aa4605c08
Contents?: true
Size: 248 Bytes
Versions: 6
Compression:
Stored size: 248 Bytes
Contents
# this class is used to test the validators # it contains the methods needed to mimic and ActiveRecord::Base for the validators class BasicRecord def initialize(attribute) @errors = {attribute => []} end def errors @errors end end
Version data entries
6 entries across 6 versions & 1 rubygems