On Jan 15, 3:11 pm, Michael Linfield <[email protected]> wrote:
> Frederick Cheung wrote:
>
> o_O worked without a hitch... why would this be? As you suggested I
> threw it back in HomeController (via script/generate controller home
> index) under def index and walaa!

Because that's just how it's supposed to work

> But why can I not define a new class
> to separate objects in the same controller?
>

I'm not entirely sure what you're trying to achieve. You probably
could create a new controller, but you'd need to set it up so that it
thought it was responding to the same http request etc (ie the work
that rails does when a new request comes in). I'm still not sure what
you'd achieve by that though.

Fred
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.


Reply via email to