On Fri, Feb 17, 2012 at 13:10, Felipe Pieretti Umpierre
wrote:
> NoMethodError in ProjectsController#new
>
> undefined method `key?' for nil:NilClass
That's telling you that there's a problem in the one piece you didn't
show us, the controller. Somewhere in your Projects controller,
you're call
Hello, I have a problem with the paperclip, I put on my GemFile
gem "paperclip", "~> 2.6.0"
I create a migrate
class FileUpload < ActiveRecord::Migration
def up
change_table :projects do |t|
t.has_attached_file :image
end
end
def down
drop_attached_file :projects, :image
2 matches
Mail list logo