Sha256: 9476d31f3bc17631bec69ab64ddffef6f9c8f3e0ef4b4cc8d899e5616beb2506
Contents?: true
Size: 836 Bytes
Versions: 7
Compression:
Stored size: 836 Bytes
Contents
# TODO: clean up extensions. some could be organized for autoloading, and others could be removed entirely. Dir["#{File.dirname __FILE__}/active_scaffold/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} I18n.load_path += Dir[File.join(File.dirname(__FILE__), 'active_scaffold', 'locale', '*.{rb,yml}')]
Version data entries
7 entries across 7 versions & 2 rubygems