Sha256: 346ed7dfd23aaa6d7babf98a3aa16a214e671ab71a0e56f6439fbaebf0e7983c

Contents?: true

Size: 476 Bytes

Versions: 8

Compression:

Stored size: 476 Bytes

Contents

# require this file from your "config/environment.rb" (after rails has been loaded)
# to integrate the file_column extension into rails.

require 'file_column'
require 'file_column_helper'


module ActiveRecord # :nodoc:
  class Base # :nodoc:
    # make file_column method available in all active record decendants
    include FileColumn
    include FileColumn::Validations
  end
end

module ActionView # :nodoc:
  class Base # :nodoc:
    include FileColumnHelper
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
file_column_with_s3-0.2.0 lib/rails_file_column.rb
file_column_with_s3-0.1.9 lib/rails_file_column.rb
file_column_with_s3-0.1.8 lib/rails_file_column.rb
file_column_with_s3-0.1.7 lib/rails_file_column.rb
file_column_with_s3-0.1.6 lib/rails_file_column.rb
file_column_with_s3-0.1.5 lib/rails_file_column.rb
file_column_with_s3-0.1.4 lib/rails_file_column.rb
file_column_with_s3-0.1.3 lib/rails_file_column.rb