[Backgroundrb-devel] models loading

hemant gethemant at gmail.com
Thu Jan 3 01:38:48 EST 2008


Hi,

On Jan 3, 2008 6:38 AM, Emil Marceta <emarceta at gmail.com> wrote:
> Hi there,
>
> In the latest releases bdrb attempts to load all models during startup
> routine. We have models that depend on the particular RUBY_PLATFORM
> but they live in the same models directory. It seems that the
> inability to load them stops bdrb. Could the models requiring /
> loading be done one demand, the same as Rails does?
>

The problem is, rails way of lazy loading doesn't work, when we are
creating ActiveRecord objects that were dumped at one end of network.
What I can do is, make this configurable, so as for people who don't
pass actual model objects across the wire, they can have this option
disabled.


More information about the Backgroundrb-devel mailing list