Sha256: 7719d019365e2f7a49eb412d6980e0c12be05bd0d6c54f4dc9ce91c8b8a59966
Contents?: true
Size: 376 Bytes
Versions: 3
Compression:
Stored size: 376 Bytes
Contents
module ProfileFieldTypes # Studies Information # class Study < ProfileField def self.model_name; ProfileField.model_name; end has_child_profile_fields :from, :to, :university, :subject, :specialization # If the single study has no label, just say 'Study'. # def label super || I18n.translate( :study, default: "Study" ) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
your_platform-1.0.1 | app/models/profile_field_types/study.rb |
your_platform-1.0.0 | app/models/profile_field_types/study.rb |
your_platform-0.0.2 | app/models/profile_field_types/study.rb |