Sha256: 3770e4f8f9349442ae6598225afefff3120beace6711f1ea86f19e21815ff171

Contents?: true

Size: 735 Bytes

Versions: 26

Compression:

Stored size: 735 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}

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
active_scaffold-3.2.8 lib/active_scaffold_env.rb
active_scaffold-3.2.7 lib/active_scaffold_env.rb
active_scaffold-3.2.6 lib/active_scaffold_env.rb
active_scaffold-3.2.5 lib/active_scaffold_env.rb
active_scaffold-3.2.4 lib/active_scaffold_env.rb
active_scaffold-3.2.3 lib/active_scaffold_env.rb
active_scaffold-3.2.2 lib/active_scaffold_env.rb
active_scaffold-3.2.1 lib/active_scaffold_env.rb
active_scaffold-3.2.0 lib/active_scaffold_env.rb
active_scaffold-3.1.20 lib/active_scaffold_env.rb
active_scaffold-3.1.19 lib/active_scaffold_env.rb
active_scaffold-3.1.18 lib/active_scaffold_env.rb
active_scaffold-3.1.17 lib/active_scaffold_env.rb
active_scaffold-3.1.15 lib/active_scaffold_env.rb
active_scaffold-3.1.14 lib/active_scaffold_env.rb
active_scaffold-3.1.13 lib/active_scaffold_env.rb
active_scaffold-3.1.12 lib/active_scaffold_env.rb
active_scaffold-3.1.11 lib/active_scaffold_env.rb
active_scaffold-3.1.10 lib/active_scaffold_env.rb
active_scaffold-3.1.9 lib/active_scaffold_env.rb