Colin Law wrote: > Why do you want to put a controller in the lib folder? That is what the > controllers folder is for. > > 2009/3/27 Alex <[email protected]>
You could create a plugin that defines controllers, models, etc so that you can more easily share code amongst various apps. I saw that idea yesterday in the rails guides. Instead of generating a controller a plugin could define one, and people could simply overwrite the actions they need to tweak and keep the rest of the controller code untouched. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

