Sha256: e0c0ea5501f5dc7c0a81753bac99ddcc34590383e6d4dc578e0d3d577bda76d0
Contents?: true
Size: 1.19 KB
Versions: 17
Compression:
Stored size: 1.19 KB
Contents
module ActiveScaffold class Engine < ::Rails::Engine initializer "active_scaffold.action_controller" do |app| ActiveSupport.on_load :action_controller do include ActiveScaffold::Core include ActiveScaffold::DelayedSetup if ActiveScaffold.delayed_setup include ActiveScaffold::RespondsToParent include ActiveScaffold::Helpers::ControllerHelpers include ActiveScaffold::ActiveRecordPermissions::ModelUserAccess::Controller end end initializer "active_scaffold.action_view" do |app| ActiveSupport.on_load :action_view do include ActiveScaffold::Helpers::ViewHelpers end end initializer "active_scaffold.active_record" do |app| ActiveSupport.on_load :active_record do include ActiveScaffold::ActiveRecordPermissions::ModelUserAccess::Model ActiveRecord::Associations::Association.send :include, ActiveScaffold::Tableless::Association ActiveRecord::Associations::CollectionAssociation.send :include, ActiveScaffold::Tableless::CollectionAssociation ActiveRecord::Associations::SingularAssociation.send :include, ActiveScaffold::Tableless::SingularAssociation end end end end
Version data entries
17 entries across 17 versions & 1 rubygems