You probably created the 'internet' files with `rails g resource ...`
command, which also create controller and helper. You probably meant to use
`hobo g model ...` which creates the only the model, or even `hobo g
resource ... ` which should also create the controller but not the helper.

You could also use `hobo destroy resource ...` and have all removed for
you... anyway `hobo g migration` is needed to update the db.

ciao
dd

On Tue, Jan 11, 2011 at 1:29 PM, Donald R. Ziesig <[email protected]> wrote:

> Hi All:
>
> I was trying to remove a model and its associated files from my site.  When
> I did this in the past, all I had to do is remove the model's .rb and run
> hobo g migration.
>
> Today I tried this for a model named "Internet" in internet.rb and got an
> error trace back starting with:
>
> /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/inflector/methods.rb:113:in
> `constantize': uninitialized constant Internet (NameError)
>
> In order to make it work, I had to remove the controller and helper files
> manually as well, then run hobo g migration.  I never had to do that before.
>
> Is it a bug or a feature?
>
> Don Ziesig
>
> --
> 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]<hobousers%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/hobousers?hl=en.
>
>

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