]> git.openstreetmap.org Git - rails.git/blob - vendor/plugins/file_column/init.rb
Updating to use Rails 2.1.2. Moving the gem dependancies to the config/environment...
[rails.git] / vendor / plugins / file_column / init.rb
1 # plugin init file for rails
2 # this file will be picked up by rails automatically and
3 # add the file_column extensions to rails
4
5 require 'file_column'
6 require 'file_compat'
7 require 'file_column_helper'
8 require 'validations'
9 require 'test_case'
10
11 ActiveRecord::Base.send(:include, FileColumn)
12 ActionView::Base.send(:include, FileColumnHelper)
13 ActiveRecord::Base.send(:include, FileColumn::Validations)