# File app/models/tag.rb, line 39 def self.clear if Rails.env.test? Tag.each { |r| r.remove } end end
# File app/models/tag.rb, line 49 def self.list out = Tag.all.order_by( :name => :desc ) [['', nil]] + out.map { |item| [ item.name, item.id ] } end
# File app/models/tag.rb, line 73 def self.mobi Tag.where( :name => 'Travel' ).first end
@deprecated I don’t even know why I have this. Should be simplified into non-being.
# File app/models/tag.rb, line 69 def self.n_features 4 end
Generated with the Darkfish Rdoc Generator 2.