Sha256: 9bd56d34788b1cef9e854489c50b6d05d96617f36613844937d032b623ce8d17
Contents?: true
Size: 621 Bytes
Versions: 14
Compression:
Stored size: 621 Bytes
Contents
class Chouette::Company < Chouette::TridentActiveRecord has_many :lines validates_presence_of :registration_number validates_uniqueness_of :registration_number validates_format_of :registration_number, :with => %r{\A[0-9A-Za-z_-]+\Z} validates_presence_of :name attr_accessible :objectid, :object_version, :creation_time, :creator_id, :name, :short_name attr_accessible :organizational_unit, :operating_department_name, :code, :phone, :fax, :email, :registration_number def self.nullable_attributes [:organizational_unit, :operating_department_name, :code, :phone, :fax, :email] end end
Version data entries
14 entries across 14 versions & 1 rubygems