This article is obsolete now that Rails 2.3 has Engines in core.

Over on the Rails mailing list, James Adams reports the initial release of Rails Engines.

What are engines ? They are plugins, more or less, except they also bundle controllers, views, partials, models and everything else you’d usually need in a component.

In fact, Rails Components could very well be implemented using Rails Engines.

I wonder how routes are handled. Can engines provide their own routes, or must the engine user define the routes he wants ? Gotta try that login_engine and see for myself.

Search

Your Host

A picture of me

I am François Beausoleil, a Ruby on Rails and Scala developer. During the day, I work on Seevibes, a platform to measure social interactions related to TV shows. At night, I am interested many things. Read my biography.

Top Tags

Books I read and recommend

Links

Projects I work on

Projects I worked on