Sha256: c8ca6830f87af4434fe7c6d89f7085096567a89ca842abbea9c81190878711de

Contents?: true

Size: 590 Bytes

Versions: 36

Compression:

Stored size: 590 Bytes

Contents

class ActiveScaffold::Bridges::Carrierwave < ActiveScaffold::DataStructures::Bridge
  def self.install
    require File.join(File.dirname(__FILE__), 'carrierwave/form_ui')
    require File.join(File.dirname(__FILE__), 'carrierwave/list_ui')
    require File.join(File.dirname(__FILE__), 'carrierwave/carrierwave_bridge_helpers')
    require File.join(File.dirname(__FILE__), 'carrierwave/carrierwave_bridge')
    ActiveScaffold::Config::Core.send :prepend, ActiveScaffold::Bridges::Carrierwave::CarrierwaveBridge
  end

  def self.install?
    Object.const_defined? 'CarrierWave'
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
active_scaffold-3.6.5 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.4.1 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.4 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.3 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.2 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.1 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.0 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.0.rc2 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.0.rc1 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.5.5 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.6.0.pre lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.5.4 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.5.3 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.5.2 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.5.1 lib/active_scaffold/bridges/carrierwave.rb
active_scaffold-3.5.0 lib/active_scaffold/bridges/carrierwave.rb