What is the best way to reuse a controller's action and views?

On Jan 25, 2008 10:36 PM, [email protected] <
[email protected]> wrote:

Check out RailsEngines: http://rails-engines.org/introduction

Have to agree on the RailsEngines.

If your views are non-changing then you may consider a combination of:

  • generator script to generate views and controllers
  • the controllers are actually ‘dumb’ ones that simply include a
    module(s)
  • the module(s) are in the plugin, including the Rails generators

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