KrestenK-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Dec-07 22:02 UTC
Application plugins
In cakephp (a rails like framework) there is an app/plugin directory. Here is the a "default" layout: plugins/blog/controllers: plugins/blog/controllers/blog_controller.php plugins/blog/models: plugins/blog/models/blog.php plugins/blog/views: plugins/blog/views/blog: plugins/blog/views/blog/index.ctp plugins/blog/views/blog/view.ctp I really like, that I can just drop an application in that folder, install the database stuff, and then have a working application. The above url would be host/blog/ host/blog/view/$id Can I achieve the same In rails? How? --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
KrestenK-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> Can I achieve the same In rails? How?The "Engine" plugin does a similar behavior. Last I checked it was not compatible with Rails 2.0 that just came out but works fine with older versions and I am sure it will be working with Rails 2.0 soon. Eric --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
http://rails-engines.org/ On Dec 7, 5:29 pm, Eric Anderson <e...-Es09zwCbMN9sO85lhEf0XA@public.gmane.org> wrote:> Krest...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > Can I achieve the same In rails? How? > > The "Engine" plugin does a similar behavior. Last I checked it was not > compatible with Rails 2.0 that just came out but works fine with older > versions and I am sure it will be working with Rails 2.0 soon. > > Eric--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---