Forum: Rails Engines Engines and Edge Rails / Rails 1.1

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-02-26 23:42
(Received via mailing list)
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+...

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

- james

--
* J *
  ~
D8cb8c8cd40ddf0cd05241443a591868?d=identicon&s=25 Duane Johnson (Guest)
on 2006-02-27 04:55
(Received via mailing list)
On Feb 26, 2006, at 3:40 PM, James Adam 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+...
>
> 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 Johnson
(canadaduane)
http://blog.inquirylabs.com/
00e3a96684ab390a350b0271e98741d3?d=identicon&s=25 Nshbrown Nshbrown (nshb)
on 2006-02-27 05:10
(Received via mailing list)
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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Nathaniel S. H. Brown                           http://nshb.net
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2006-02-27 10:47
(Received via mailing list)
Hi Duane,

I'm definitely hoping to see your patch included very soon :)

- james

On 2/27/06, Duane Johnson <duane.johnson@gmail.com> 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 Johnson
> (canadaduane)
> http://blog.inquirylabs.com/

--
* J *
  ~
D8cb8c8cd40ddf0cd05241443a591868?d=identicon&s=25 Duane Johnson (Guest)
on 2006-02-27 11:05
(Received via mailing list)
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 Adam 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
This topic is locked and can not be replied to.