Sha256: ffa4f79442b464b96bbe42d6d6b6766ec6e5f62fd9469968344ddac1fb616df9

Contents?: true

Size: 266 Bytes

Versions: 5

Compression:

Stored size: 266 Bytes

Contents

class CloudCache < ActiveRecord::Base
  
  def self.language_tags language
    english_id = 38
    results = CloudCache.find(:all, :conditions => ["language_id = ? AND filter = 'all'", english_id])
    results.empty? ? '' : results[0].tag_list
  end
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
muck-raker-0.1.1 app/models/cloud_cache.rb
muck-raker-0.1.2 app/models/cloud_cache.rb
muck-raker-0.1.3 app/models/cloud_cache.rb
muck-raker-0.1.4 app/models/cloud_cache.rb
muck-raker-0.1.0 app/models/cloud_cache.rb