Sha256: efdf65b4bfff33d041be60b4b629fc7eca29ef265de53b02c31238fa25dbc5b9
Contents?: true
Size: 248 Bytes
Versions: 291
Compression:
Stored size: 248 Bytes
Contents
class Address < ActiveRecord::Base belongs_to :addressable, :polymorphic => true validates_uniqueness_of :title, :scope => [:addressable_type, :addressable_id] validates_length_of :zip, :minimum => 5 validates_numericality_of :zip end
Version data entries
291 entries across 170 versions & 30 rubygems