On Jan 15, 2012, at 3:27 AM, JezC wrote:

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

"Ingredients" is plural in the code above - that may be part of the problem. If 
it still happens with the singular, can you post a full stack trace?

--Matt Jones

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