Updating to use Rails 2.1.2. Moving the gem dependancies to the config/environment.rb file. Moving the vendor/plugins externals into our svn.
This commit is contained in:
parent
38f4e17865
commit
252c2f7022
46 changed files with 3919 additions and 7 deletions
19
vendor/plugins/file_column/lib/rails_file_column.rb
vendored
Normal file
19
vendor/plugins/file_column/lib/rails_file_column.rb
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
# 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
|
||||
end
|
||||
end
|
||||
|
||||
module ActionView # :nodoc:
|
||||
class Base # :nodoc:
|
||||
include FileColumnHelper
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue