Sha256: c296ed27ecf57f2a4305c5da3db0d21d5ebe0a79048bbef2ac00283c2692d7d6
Contents?: true
Size: 1.02 KB
Versions: 96
Compression:
Stored size: 1.02 KB
Contents
require 'six/dbmanager' #Appsetting.send(:include, Six::Appmanager::Appsetting) #Appsetting.class_eval {include Six::Appmanager::Appsetting} =begin require 'active_scaffold' # TODO: clean up extensions. some could be organized for autoloading, and others could be removed entirely. Dir["#{File.dirname __FILE__}/lib/extensions/*.rb"].each { |file| require file } ActionController::Base.send(:include, ActiveScaffold) ActionController::Base.send(:include, RespondsToParent) ActionController::Base.send(:include, ActiveScaffold::Helpers::ControllerHelpers) ActionView::Base.send(:include, ActiveScaffold::Helpers::ViewHelpers) ActionController::Base.class_eval {include ActiveRecordPermissions::ModelUserAccess::Controller} ActiveRecord::Base.class_eval {include ActiveRecordPermissions::ModelUserAccess::Model} ActiveRecord::Base.class_eval {include ActiveRecordPermissions::Permissions} require 'bridges/bridge.rb' I18n.load_path += Dir[File.join(File.dirname(__FILE__), 'lib', 'active_scaffold', 'locale', '*.{rb,yml}')] =end
Version data entries
96 entries across 96 versions & 1 rubygems