I am needing to render a partial from a bunch of classes. The user
class should render the userland, the module class should render
the modules and the interface module (which should call the others)
needs to render some additional information such as an editor. Is
there a better way to do this?
On 1 Mar 2006 17:58:21 -0000, Mikkel Bruun
<devlists-rubyonrails@devlists.com> wrote:> Why would wanto to do this???
>
> You might be going in he wrong direction...
>
>
> On Wednesday, March 01, 2006, at 11:51 AM, Toph wrote:
> >Hi all! I am attemping to call a method inside of my
> >LeviUserController named show_userland from my
> >LeviInterfaceController class. No matter how I do it,
> >I keep getting some type of error. If I make the method
> >a class method, then my render_partial inside of
> >show_userland can''t be found. If i call it using
> >
> >@luser = LeviUserController.new;
> >@luser.show_userland;
> >
> >I get an error with a nil object exception.
> >
> >Y''all have any ideas? I would greatly appreciate the help.
> >
> >--
> >Topher Fangio
> >fangiotophia@gmail.com
> >http://www.fangiotophia.com
> >
> >Website Specialist
> >Fangiotophia Designs
> >(325) 660-7141
> >_______________________________________________
> >Rails mailing list
> >Rails@lists.rubyonrails.org
> >http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
> Mikkel Bruun
>
> www.strongside.dk - Football Portal(DK)
> nflfeed.helenius.org - Football News(DK)
> ting.minline.dk - Buy Old Stuff!(DK)
>
>
>
>
> --
> Posted with http://DevLists.com. Sign up and save your time!
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
--
Topher Fangio
fangiotophia@gmail.com
http://www.fangiotophia.com
Website Specialist
Fangiotophia Designs
(325) 660-7141