GeoRSS aggregator and Layar augmented reality server
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 

12 righe
277 B

  1. class Layer < ActiveRecord::Base
  2. has_many :subscriptions
  3. has_many :feeds, :through => :subscriptions, :uniq => true
  4. attr_accessible :name, :icon_url
  5. # Unique name for Layar layer
  6. def layar_name
  7. "apollo" + self.name.strip.downcase.gsub(/[^a-z0-9]/, '')
  8. end
  9. end