Sha256: cf98d91597e965ce220c5bfbc00b7cd784471524b4006cf913176f259f0d79eb
Contents?: true
Size: 410 Bytes
Versions: 3
Compression:
Stored size: 410 Bytes
Contents
class ActiveRecord::Base include ValidatesTimeliness::HelperMethods include ValidatesTimeliness::AttributeMethods def self.define_attribute_methods super # Define write method and before_type_cast method define_timeliness_methods(true) end def self.timeliness_attribute_timezone_aware?(attr_name) create_time_zone_conversion_attribute?(attr_name, columns_hash[attr_name]) end end
Version data entries
3 entries across 3 versions & 1 rubygems