I was having some difficulty with a form, so I set up a new project,
and started creating resources. I now have Hobo crashing reproducibly
in the third resource I generate. I accept and generate the migration
(m) each time. I suspect that I might have used a reserved name, and
that's the cause?

hobo new hmbt
(set up for shoulda/factory_girl, invite only, member only, admin
front end, english, running on heroku with git)
hobo g resource recipe name:string description:text vegetarian:boolean
fishy:boolean nutty:boolean celery:boolean gluteny:boolean
hobo g resource ingredients name:string description:text
hobo g resource menu name:string description:text

Running on ruby 1.9.2p290, rails 3.0.11, hobo 1.3, rvm 1.10.1.

The error?

Hobo Command Line Interface 1.3.0
/Users/jeremyc/.rvm/gems/ruby-1.9.2-p290@hobo/gems/
activesupport-3.0.11/lib/active_support/inflector/methods.rb:124:in
`block in constantize': uninitialized constant Ingredient (NameError)

Happy to upload this to github, or to add details of gems if that
helps.

I don't understand what I've done wrong. This is similar to one of the
tutorials in "Rapid Rails 3 with Hobo" - only I've extended it to
explore my form/field problem. Any clues, please?

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