I have uploaded filecloumn plugin using instructions from:
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.
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---