On 8/29/06, Caio Chassot <[EMAIL PROTECTED]> wrote:
>
>
> On 2006-08-29, at 02:24 , Jonathan Viney wrote:
>
> > You could equally argue that observers should have their own
> > directory as well.
> >
>
> Indeed, so that's mailers, observers, sweepers.
>
> Everyone uses controllers and models, but not necessarily the items
> above. So I suggest that these directories should not exist in the
> default app, but be created by their respective generators if necessary.
>
> I'm not sure how that affects rails's load path. Is it a problem to
> add inexistent dirs? I suspect not.
config.autoload_paths += %W( #{RAILS_ROOT}/app/cachers )
I picked up app/cachers from i2 a long time ago, no idea why I still
use it. But, its good enough for me.
--
Rick Olson
http://weblog.techno-weenie.net
http://mephistoblog.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Core" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-core
-~----------~----~----~----~------~----~------~--~---