I am trying to get paperclip_with_hobo working in a sample app. hobo test cd test script/plugin install git://github.com/thoughtbot/paperclip.git script/plugin install git://github.com/tablatom/paperclip_with_hobo.git script/generate hobo_migration script/generate hobo_model_resource upload name:string description:string nano app/models/upload.rb
Original app/models/upload.rb class Upload < ActiveRecord::Base hobo_model # Don't put anything above this fields do name :string description :string timestamps end Modified app/models/upload.rb class Upload < ActiveRecord::Base hobo_model # Don't put anything above this fields do name :string description :string timestamps has_attached_file :photo end nano app/views/taglibs/application.dryml Modified app/views/taglibs/application.dryml <include src="paperclip" plugin="paperclip_with_hobo"/> then: script/generate hobo_migration Here I generate an error: Invalid field type: :photo for Upload.has_attached_file What am I doing wrong? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
