On Sep 1, 2010, at 11:35 PM, Wes Gamble wrote:
> extension_config do |config|
> config.after_initialize do
> ...custom stuff...
> end
> end
That config object points to the underlying Rails app's configuration, so
through it you'll have access to all of the options normally pr
On Wed, Sep 1, 2010 at 11:35 PM, Wes Gamble wrote:
> When I use a block like:
>
> extension_config do |config|
> config.after_initialize do
> ...custom stuff...
> end
> end
>
> to manipulate the Rails configuration in an xxx_extension.rb file, is the
> config.after_initialize blo
When I use a block like:
extension_config do |config|
config.after_initialize do
...custom stuff...
end
end
to manipulate the Rails configuration in an xxx_extension.rb file, is
the config.after_initialize block important? If so, why?
Thanks,
Wes