Sha256: 5d02753eafff4711390de3a8d8b543985786b4ea36f4cad208e0eb38fce15d8c

Contents?: true

Size: 423 Bytes

Versions: 5

Compression:

Stored size: 423 Bytes

Contents

# plugin init file for rails
# this file will be picked up by rails automatically and
# add the file_column extensions to rails

require 'file_column'
require 'file_compat'
require 'file_column_helper'
require 'validations'
#require 'test_case' if RAILS_ENV == 'test'

ActiveRecord::Base.send(:include, FileColumn)
ActionView::Base.send(:include, FileColumnHelper)
ActiveRecord::Base.send(:include, FileColumn::Validations)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avatar-0.0.1 test/lib/file_column/init.rb
avatar-0.0.2 test/lib/file_column/init.rb
avatar-0.0.3 test/lib/file_column/init.rb
avatar-0.0.4 test/lib/file_column/init.rb
avatar-0.0.5 test/lib/file_column/init.rb