Sha256: 907f7373d24c00ce87a209279a5960ebfbe77dea790354777d05350d2aac9546

Contents?: true

Size: 489 Bytes

Versions: 3

Compression:

Stored size: 489 Bytes

Contents

class Application < ActiveRecord::Base
  has_user_preferences

  has_and_belongs_to_many :app_containers
  has_and_belongs_to_many :widgets

  validates_uniqueness_of :javascript_class_name
  validates_uniqueness_of :internal_identifier, :scope => :type, :case_sensitive => false

  def locate_resources(resource_type)
    resource_loader = ErpApp::ApplicationResourceLoader::DesktopOrganizerLoader.new(self)
    resource_loader.locate_resources(resource_type)
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
erp_app-3.0.16 app/models/application.rb
erp_app-3.0.15 app/models/application.rb
erp_app-3.0.14 app/models/application.rb