Sha256: 32ecc34304fdee969d5a3e40b29489c1ab930dd0417e87b3135e7292d849a7b1

Contents?: true

Size: 489 Bytes

Versions: 2

Compression:

Stored size: 489 Bytes

Contents

require 'rubygems'
require 'active_support'
require 'active_record'
require 'cockpit'
require 'acts-as-joinable'
require 'paperclip'

Paperclip::Railtie.insert

this = File.expand_path(File.dirname(__FILE__))

Dir["#{this}/acts-as-assetable/*"].each { |c| require c if File.extname(c) == ".rb" }
Dir["#{this}/../app/models/*"].each { |c| require c if File.extname(c) == ".rb" }

def Assets(*args, &block)
  
end

ActiveRecord::Base.send(:include, ActsAsAssetable) if defined?(ActiveRecord)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts-as-assetable-0.0.2.1 lib/acts-as-assetable.rb
acts-as-assetable-0.0.2.0 lib/acts-as-assetable.rb