root/vendor/plugins/file_column/init.rb
@
2
Revision 2, 399 bytes (checked in by falcon, 17 years ago) |
---|
Rev | Line | |
---|---|---|
[2] | 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) |
Note: See TracBrowser
for help on using the browser.