Create controller dynamically?

Hi All,
I wanna create controller dynamically through my ruby code.

Please help me out.

Suppose i have one controller if i call a function of this controller so
i wanna create another controller dynamically.That can be one or n
numbers of controllers.

Please help me …

On Thu, Apr 24, 2008 at 8:37 AM, Varun G.
[email protected]


Posted via

You really probably want to post this on the rails list. It is probably
do-able but the structure of rails puts it a bit beyond the scope of
ruby. You will have to dynamically define classes but with rails
those classes will be in separate files you might have to do some
significant unpleasantness.

“Hey brother Christian with your high and mighty errand, Your actions
so loud, I can’t hear a word you’re saying.”

-Greg Graffin (Bad Religion)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs