Okay, I'm chaining methods. I want access to my class. I can access
SomeClass with a method like some_class. Now with engines in Rails
3.1, I can use modules to break apart my codebase. So now, SomeClass
would be Engine::SomeClass. If I try to access Engine::SomeClass with
a similar style method like engine_some_class, it returns with
EngineSomeClass rather than Engine::SomeClass.

Any ideas on a chainable method for accessing this class now that it
has the additional module namespace?

Thanks,

Steve

On Jun 6, 1:35 pm, Frederick Cheung <[email protected]>
wrote:
> On Jun 6, 3:34 pm, frizbe1605 <[email protected]> wrote:> EngineBlogPost 
> == @blog.engine_blog_post
> > Engine::BlogPost == ????????
>
> You might want to elaborate - to me at least your question makes no
> sense.
>
> Fred.
>
>
>
>
>
>
>
> > Thanks!

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