Sha256: c99637b985235f04cbd5e0d8e65e5bf7101df1a217cf5b2a74b8f65132f0900d
Contents?: true
Size: 677 Bytes
Versions: 1
Compression:
Stored size: 677 Bytes
Contents
class Application < ActiveRecord::Base attr_protected :created_at, :updated_at has_user_preferences has_and_belongs_to_many :app_containers has_and_belongs_to_many :widgets validates_uniqueness_of :javascript_class_name, :allow_nil => true validates_uniqueness_of :internal_identifier, :scope => :type, :case_sensitive => false class << self def iid(internal_identifier) find_by_internal_identifier(internal_identifier) end end def locate_resources(resource_type) resource_loader = ErpApp::ApplicationResourceLoader::DesktopOrganizerLoader.new(self) resource_loader.locate_resources(resource_type) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
erp_app-4.0.0 | app/models/application.rb |