Sha256: 4d94d031574b72f6c7e7454730ce287d4b46b62e2ac40710aae364f38e12adc5

Contents?: true

Size: 751 Bytes

Versions: 40

Compression:

Stored size: 751 Bytes

Contents

ActiveScaffold::Bridges.bridge "Paperclip" do
  install do
    if ActiveScaffold::Config::Core.instance_methods.include?("initialize_with_paperclip")
      raise RuntimeError, "We've detected that you have active_scaffold_paperclip_bridge installed. This plugin has been moved to core. Please remove active_scaffold_paperclip_bridge to prevent any conflicts"
    end
    require File.join(File.dirname(__FILE__), "lib/form_ui")
    require File.join(File.dirname(__FILE__), "lib/list_ui")
    require File.join(File.dirname(__FILE__), "lib/paperclip_bridge_helpers")
    require File.join(File.dirname(__FILE__), "lib/paperclip_bridge")
    ActiveScaffold::Config::Core.send :include, ActiveScaffold::Bridges::Paperclip::Lib::PaperclipBridge
  end
end

Version data entries

40 entries across 37 versions & 4 rubygems

Version Path
active_scaffold_vho-3.0.30 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.29 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.6 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.28 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.5 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.27 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.4 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.26 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.25 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.3 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.2 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold-3.0.26 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.1 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold-3.0.25 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.24 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_clarity-3.0.24.2 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.1.0 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.23 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold_vho-3.0.22 lib/active_scaffold/bridges/paperclip/bridge.rb
active_scaffold-3.0.24 lib/active_scaffold/bridges/paperclip/bridge.rb