MaD wrote:
>> I guess here's the latest 
>> version:http://github.com/technoweenie/attachment_fu/tree/master
> 
> oh, i'm sorry. i still got some old bookmarks on svn instead of github.

perfect, got it installed and trying to figure out how to get it 
working..

project controller in create,

 @project_file = Project_File.new(params[:uploaded_data])

in project view,

      <%= f.file_field :uploaded_data %>

the page loads and i can select a file but when i go to save im getting 
the error,

 ActiveRecord::UnknownAttributeError in ProjectsController#create
unknown attribute: uploaded_data

project has_many :project_files
project_file belongs_to :project

any ideas?
-- 
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@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to