Sha256: d6206efa023e7775facf5b39ee3ae3e7bda8438b1ec9ff69117cdd15597ab71f

Contents?: true

Size: 270 Bytes

Versions: 33

Compression:

Stored size: 270 Bytes

Contents

class Gbapplication < ActiveRecord::Base
  has_many :gbapplications_categories
  has_many :categories, :through => :gbapplications_categories, :order => "gbapplications_categories.sort"

  attr_protected []

  validates :name, :presence => true, :uniqueness => true
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
gb_mapfish_appserver-0.8.5 app/models/gbapplication.rb
gb_mapfish_appserver-0.8.4 app/models/gbapplication.rb
gb_mapfish_appserver-0.8.3 app/models/gbapplication.rb
gb_mapfish_appserver-0.8.2 app/models/gbapplication.rb
gb_mapfish_appserver-0.8.1 app/models/gbapplication.rb
gb_mapfish_appserver-0.8.0 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.7 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.6 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.5 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.4 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.3 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.2 app/models/gbapplication.rb
gb_mapfish_appserver-0.0.1 app/models/gbapplication.rb