root/vendor/file-column-0.3.1/lib/rails_file_column.rb @ 11

Revision 2, 440 bytes (checked in by falcon, 17 years ago)

added plugins

  • Property svn:executable set to *
Line 
1# require this file from your "config/environment.rb" (after rails has been loaded)
2# to integrate the file_column extension into rails.
3
4require 'file_column'
5require 'file_column_helper'
6
7
8module ActiveRecord # :nodoc:
9  class Base # :nodoc:
10    # make file_column method available in all active record decendants
11    include FileColumn
12  end
13end
14
15module ActionView # :nodoc:
16  class Base # :nodoc:
17    include FileColumnHelper
18  end
19end
Note: See TracBrowser for help on using the browser.