On 15/02/2010 09:33, Sergio Cambra .:: entreCables S.L. ::. wrote:
On Sábado, 13 de Febrero de 2010 22:14:26 satynos escribió:
Sergio:
Thanks for the feedback. Both MikeV and me work on the same project.
We might have a scalability issue if we turn off the thread-safety. Is
there any switch or config setting in active_scaffold that can utilize
thread safety.
I think you can turn on thread-safety if you don't use per-request
configuration, although I haven't tried it
If not how hard is it to accommodate thread-safety into
the active_scaffold plugin? If I want to copy the configuration to
instance which file or what place should I be looking in?
lib/active_scaffold.rb and files inside lib/active_scaffold/config/
active_scaffold instance method should return instance variable when is set,
and class variable in other case (now, it returns class variable all time).
There should be a method to copy config from class to instance variable, which
only clones it when instance variable is not set, it would be used before
filters which changing active scaffold config. Cloning config should clone
depthly, cloning columns sets, action links sets and so on.
Hmm, what about a passthrough proxy object of sorts? Not thought this
through, but something avoid some of the copying, but provide an object
instance level override?
Ed W
--
You received this message because you are subscribed to the Google Groups
"ActiveScaffold : Ruby on Rails plugin" 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/activescaffold?hl=en.