Hello,

I'm relatively new to Ruby, but I was following along with the
tutorials at a pretty decent clip when I decided I'd try to add an
image field for a particular model.  I found the instructions here:
http://cookbook.hobocentral.net/plugins/paperclip_with_hobo

I followed along, and with a few bumps thought I finally had to ready
to go, but I kept getting this error message, "Unable to generate hash
without :hash_secret" so I decided i'd pass this option to my model
like this:

class Machine < ActiveRecord::Base

  hobo_model # Don't put anything above this

  fields do
    name              :string, :unique
    price               :integer
    timestamps
  end

  has_attached_file :photo, :hash_secret


And I now get this error: "can't convert Symbol into Hash"

I've read a couple places about this error but I haven't found any
fixes that work, am I just using an outdated version of the git from
the tutorial with the recent upgrades to Hobo?



-- 
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.

Reply via email to