Sha256: 57e7d37601e1db5740b714ba023c5b947e5a3111ccf708d9872a67d185d1ecd9

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 Bytes

Contents

class Acclaim < ActiveRecord::Base
  include Fae::Concerns::Models::Base

  has_fae_file :pdf

  def fae_display_field
    publication
  end

  def self.for_release_filter
    where('acclaims.score IS NOT NULL')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fae-rails-1.6.0 spec/dummy/app/models/acclaim.rb
fae-rails-1.5.1 spec/dummy/app/models/acclaim.rb
fae-rails-1.5.0 spec/dummy/app/models/acclaim.rb