# Re: \[ANN\] walkthrough: Rails 2.0 startup process

**URL:** <https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930>\
**Category:** Rails\
**Created:** [December 3, 2007, 1:32am UTC](https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930 "2007-12-03T01:32:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pratik](https://www.ruby-forum.com/u/pratik)\
**Post date:** [December 3, 2007, 1:32am UTC](https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930/1 "2007-12-03T01:32:28Z")

</div>

Umm…just one question, why are you porting engines to rails 2.0 ?  
From what I understand, engines are no longer needed as the same goals  
can be achieved using plugins.

On Dec 2, 2007 5:26 PM, Sven F. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> >

–  
Cheers!

- Pratik  
[http://m.onkey.org](http://m.onkey.org)

---

<div class="post-metadata">

**Author:** ![pratik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pratik](https://www.ruby-forum.com/u/pratik)\
**Post date:** [December 3, 2007, 2:02am UTC](https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930/2 "2007-12-03T02:02:50Z")

</div>

Hi Pratik!

I’m probably not the one to expand on what Engines were in a Rails 1.2  
world as I actually never used them back then.

Yes, a good chunk of what’s in Engines for Rails 1.2 has gone into  
Rails 2.0 like the explicit load order and stuff like that. This can  
now be factored out of Engines.

I’m not sure though how a default Rails plugin would register a route  
though, for example, or share migrations? I’m probably missing  
something and would really like to learn about that as I need this  
kind of functionality for a client.

PS: I’ve changed that sentence to say “help porting” … just to make  
sure nobody thinks I’ve started a fork or whatnot

Am 03.12.2007 um 01:31 schrieb Pratik:

> > ## Rails 1.2 and each of them only covers certain parts of the process.
> 
> –  
> Cheers!
> 
> - Pratik  
> [http://m.onkey.org](http://m.onkey.org)
> 
> >

–  
sven fuchs removed\_email\_address@domain.invalid  
artweb design [http://www.artweb-design.de](http://www.artweb-design.de)  
grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone)  
d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile)

---

<div class="post-metadata">

**Author:** ![pratik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pratik](https://www.ruby-forum.com/u/pratik)\
**Post date:** [December 3, 2007, 12:16pm UTC](https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930/3 "2007-12-03T12:16:31Z")

</div>

On Dec 3, 12:31 am, Pratik [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Umm…just one question, why are you porting engines to rails 2.0 ?  
> From what I understand, engines are no longer needed as the same goals  
> can be achieved using plugins.

Quite a bit of what the engines plugin used to provide has now been  
adopted in the core framework, including partial plugin load orders  
and a richer plugin loading mechanism. However, the engines plugin  
still adds functionality that Rails plugins do not have by default,  
including (but not limited to):

- adding routes
- running migrations
- sharing public assets
- easily sharing controller code

While certainly it’s possible to achieve this in a default Rails  
plugin, there are situations where it’s useful to have the  
functionality available in a standardised manner. Perhaps you are  
confusing the old notion of “an engine” with the engines plugin  
itself? (see  
[http://rails-engines.org/news/2007/01/03/engines-are-dead-long-live-engines/](http://rails-engines.org/news/2007/01/03/engines-are-dead-long-live-engines/)).

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![pratik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pratik](https://www.ruby-forum.com/u/pratik)\
**Post date:** [December 3, 2007, 12:39pm UTC](https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930/4 "2007-12-03T12:39:57Z")

</div>

On Dec 3, 2007 11:15 AM, James A. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Perhaps you are  
> confusing the old notion of “an engine” with the engines plugin  
> itself? (see [http://rails-engines.org/news/2007/01/03/engines-are-dead-long-live-engines/](http://rails-engines.org/news/2007/01/03/engines-are-dead-long-live-engines/)).
> 
> –
> 
> - J \*

Ah right. That makes sense. Please forgive my engine ignorance and  
thanks for the clarification !

## Sven, the article is great nevertheless.

Cheers!

- Pratik  
[http://m.onkey.org](http://m.onkey.org)

---

<div class="post-metadata">

**Author:** ![pratik](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/4bbf92/32.png) [@pratik](https://www.ruby-forum.com/u/pratik)\
**Post date:** [December 3, 2007, 8:42pm UTC](https://www.ruby-forum.com/t/re-ann-walkthrough-rails-2-0-startup-process/121930/5 "2007-12-03T20:42:28Z")

</div>

Am 03.12.2007 um 12:39 schrieb Pratik:

> Sven, the article is great nevertheless.

Thanks 🙂

–  
sven fuchs removed\_email\_address@domain.invalid  
artweb design [http://www.artweb-design.de](http://www.artweb-design.de)  
grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone)  
d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile)
