|
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 | |
|---|
| 4 | require 'file_column' |
|---|
| 5 | require 'file_column_helper' |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | module ActiveRecord # :nodoc: |
|---|
| 9 | class Base # :nodoc: |
|---|
| 10 | # make file_column method available in all active record decendants |
|---|
| 11 | include FileColumn |
|---|
| 12 | end |
|---|
| 13 | end |
|---|
| 14 | |
|---|
| 15 | module ActionView # :nodoc: |
|---|
| 16 | class Base # :nodoc: |
|---|
| 17 | include FileColumnHelper |
|---|
| 18 | end |
|---|
| 19 | end |
|---|