# Problem using filecolumn for file upload

**URL:** <https://www.ruby-forum.com/t/problem-using-filecolumn-for-file-upload/109609>\
**Category:** Rails\
**Created:** [July 17, 2007, 8:29am UTC](https://www.ruby-forum.com/t/problem-using-filecolumn-for-file-upload/109609 "2007-07-17T08:29:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rmehta](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ea666f/32.png) [@rmehta](https://www.ruby-forum.com/u/rmehta)\
**Post date:** [July 17, 2007, 8:29am UTC](https://www.ruby-forum.com/t/problem-using-filecolumn-for-file-upload/109609/1 "2007-07-17T08:29:45Z")

</div>

I have uploaded filecloumn plugin using instructions from:

[http://www.kanthak.net/opensource/file\_column/index.html#download](http://www.kanthak.net/opensource/file_column/index.html#download)

And in my model I am giving :

class Company \< ActiveRecord::Base  
file\_column :logo\_filepathname  
end

But when trying to display a form I am getting this error :

undefined method `file\_column’ for Company:Class  
RAILS\_ROOT: ./script/…/config/…

Application Trace | Framework Trace | Full Trace  
C:/instantrails/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/base.rb:1235:in  
`method_missing' #{RAILS_ROOT}/app/models/company.rb:2 #{RAILS_ROOT}/app/controllers/home_controller.rb:93:in `login’

Am I missing some step? I don’t have file\_column folder under the  
plugins in vendor. Folder structure that I got after install is :

appfolder  
|  
|–vendor  
|  
|  
–plugins  
|  
|  
–trunk  
|  
|  
–lib  
|  
|  
file\_column.rb

Thanks for any help.
