Sha256: f11b114d0ed3207a148c607af9d2d6b5c45a9ec190fafac0cd4d8c4616db6d5f
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
require 'action_view/helpers/auto_tag_helper/form_info' require 'activerecord/mlang' class OrgDirectorType < ActiveRecord::Base belongs_to :org include ActiveRecord::Mlang include ActionView::Helpers::AutoTagHelper::FormInfo # set_accessible_attrs :email,:user_img_url,:lang_id def <=>(other) self.position <=> (other.try(:position) || self.position + 1) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
we_bridge_rails_engine_orgs-0.1.0 | app/models/org_director_type.rb |