ould be the case if you
need to generate links to more than one host.)
If my somewhat limited understanding of the internals of Rails
routing means I've suggested something dumb above, please feel free
to straighten me out. :)
Pete Yandell
http://9cays.com/
This is the code I cur
Let me sharpen up my first question, because I think it's essential
no matter how you approach this:
If I have a class that includes Reloadable, how can I declare a class
variable (or equivalent thereof) that persists across reloads of the
class?
Cheers,
Pete Ya
1:17 PM, Jeff Lindsay wrote:
This sort of functionality comes with Rails Engines. Check it out,
it's pretty similar.
-jeff
On 4/3/06, Pete Yandell <[EMAIL PROTECTED]> wrote:
A lot of the built-in Rails classes have configuration options that
can be set in environment.rb, but there do
nly so
that you know where to look for configuration when using third-party
code.
3) What do people think of the API approach I've suggested? I'm
trying to make it as simple as possible, not force you to manually
define a separate class or module just to hold configuration, but
Does this tie in with http://dev.rubyonrails.org/ticket/1562 which
allows including multiple associations that reference a single table,
but (AFAIK) isn't compatible with edge rails? If this doesn't solve
the same problem as 1562, would this make solving it easier?
On 22/02/2006, at 8:30 AM
body does implement any of this as a plugin, I'd definitely
give it a go in our production code.
Cheers,
Pete Yandell
___
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core