Sha256: 773443c7d0cac40e0c031ea752d633bd48fbb0e0707613a24f215f6b71bf2ce9
Contents?: true
Size: 326 Bytes
Versions: 17
Compression:
Stored size: 326 Bytes
Contents
$:.unshift File.expand_path("../lib",__FILE__) require "email_assessor" class TestModel include ActiveModel::Validations def initialize(attributes = {}) @attributes = attributes end def email=(email) @attributes[:email] = email end def read_attribute_for_validation(key) @attributes[key] end end
Version data entries
17 entries across 17 versions & 1 rubygems