Sha256: 8377029e11368bec111417179f25c113c6c0451d0b612cf25efb85440ce34aa8

Contents?: true

Size: 239 Bytes

Versions: 16

Compression:

Stored size: 239 Bytes

Contents

class PreferenceOption < ActiveRecord::Base
  has_many   :preferences
  has_and_belongs_to_many :preference_type

  def self.iid( internal_identifier )
    where('internal_identifier = ?', internal_identifier.to_s).first
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
erp_app-3.0.16 app/models/preference_option.rb
erp_app-3.0.15 app/models/preference_option.rb
erp_app-3.0.14 app/models/preference_option.rb
erp_app-3.0.13 app/models/preference_option.rb
erp_app-3.0.12 app/models/preference_option.rb
erp_app-3.0.10 app/models/preference_option.rb
erp_app-3.0.9 app/models/preference_option.rb
erp_app-3.0.8 app/models/preference_option.rb
erp_app-3.0.7 app/models/preference_option.rb
erp_app-3.0.6 app/models/preference_option.rb
erp_app-3.0.5 app/models/preference_option.rb
erp_app-3.0.4 app/models/preference_option.rb
erp_app-3.0.3 app/models/preference_option.rb
erp_app-3.0.2 app/models/preference_option.rb
erp_app-3.0.1 app/models/preference_option.rb
erp_app-3.0.0 app/models/preference_option.rb