# Engines and Edge Rails / Rails 1.1

**URL:** <https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976>\
**Category:** Engines\
**Created:** [February 26, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976 "2006-02-26T23:42:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [February 26, 2006, 11:42pm UTC](https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976/1 "2006-02-26T23:42:58Z")

</div>

Since 1.1 is on the horizon, I’d just like to remind everyone that if  
they’re playing with Edge Rails, they need to be using the SVN trunk  
version of the engines plugin. Detailed instructions are on the wiki:

[http://rails-engines.org/wiki/pages/Using+Engines+with+Edge+Rails](http://rails-engines.org/wiki/pages/Using+Engines+with+Edge+Rails)

Good luck, and please please please give me a hand checking for bugs!

- james

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [February 27, 2006, 4:55am UTC](https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976/2 "2006-02-27T04:55:14Z")

</div>

On Feb 26, 2006, at 3:40 PM, James A. wrote:

> Since 1.1 is on the horizon, I’d just like to remind everyone that if  
> they’re playing with Edge Rails, they need to be using the SVN trunk  
> version of the engines plugin. Detailed instructions are on the wiki:
> 
> [http://rails-engines.org/wiki/pages/Using+Engines+with+Edge+Rails](http://rails-engines.org/wiki/pages/Using+Engines+with+Edge+Rails)
> 
> Good luck, and please please please give me a hand checking for bugs!
> 
> - james

Hi James,

Should we expect to see the bundled resource functionality built in  
to the 1.1 release, or is that further on the horizon?

Thanks for all the great work you’re doing on this!

Duane J.  
(canadaduane)  
[http://blog.inquirylabs.com/](http://blog.inquirylabs.com/)

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [February 27, 2006, 5:10am UTC](https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976/3 "2006-02-27T05:10:25Z")

</div>

Just upgraded, works great.

Had to read the fine print, where it said that the new config option  
needed  
to go at the VERY top of the environment.rb, but other than that it  
worked  
great.

-Nb

```auto
 Nathaniel S. H. Brown http://nshb.net

```

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [February 27, 2006, 10:47am UTC](https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976/4 "2006-02-27T10:47:34Z")

</div>

Hi Duane,

I’m definitely hoping to see your patch included very soon 🙂

- james

On 2/27/06, Duane J. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi James,
> 
> Should we expect to see the bundled resource functionality built in  
> to the 1.1 release, or is that further on the horizon?
> 
> Thanks for all the great work you’re doing on this!
> 
> Duane J.  
> (canadaduane)  
> [http://blog.inquirylabs.com/](http://blog.inquirylabs.com/)

–

- J \*  
~

---

<div class="post-metadata">

**Author:** ![nitr0z](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/ba9def/32.png) [@nitr0z](https://www.ruby-forum.com/u/nitr0z)\
**Post date:** [February 27, 2006, 11:05am UTC](https://www.ruby-forum.com/t/engines-and-edge-rails-rails-1-1/73976/5 "2006-02-27T11:05:52Z")

</div>

Super! Thanks for the update, James.

I’ve got some updated code for the require\_resource.rb file in there–  
this one is much cooler 🙂 It respects the class hierarchy and  
autoincludes javascripts and stylesheets according to the sensible  
convention of having modules in your javascripts/ and stylesheets/  
folders. Just drop in replace the old file with this file (no patch,  
sorry–I hope that’s ok).

For example:

Let’s say that:  
class Admin::UserController \< Admin::BaseController  
class Admin::DashboardController \< Admin::BaseController

Now we create an ‘admin’ folder inside stylesheets and add base.css:

#{RAILS\_ROOT}/public/stylesheets/admin/base.css

Now, views from both the UserController and DashboardController  
classes will pick up the new base.css and have it included  
automatically.

On Feb 27, 2006, at 2:44 AM, James A. wrote:

> Hi Duane,
> 
> I’m definitely hoping to see your patch included very soon 🙂

I’m hoping that your “hoping” means that you’re not expecting me to  
have subversion write access… because I don’t. Just to be clear,  
you’ll be the one to apply the patch, right?

Duane
