On Jueves, 11 de Febrero de 2010 23:38:34 mikev escribió:
> Are there areas of ActiveScaffold that are not thread safe and will
> using config.threadsafe in an environment.rb file cause problems with
> ActiveScaffold?

Yes, per-request configuration is not thread safe, ActiveScaffold configuration 
is stored in a class variable so changing it in each request is not thread 
safe.

>
> If actions are added or removed, columns are added or removed, etc.
> are by setting configuration via active_scaffold_config in a
> before_filter will there be conflicts when multiple requests are being
> processed at the same time?  Asked another way, is the configuration
> of a controller managed via class variables or is does each instance
> of a controller have a unique copy of the configuration that can be
> dynamically altered without impacting other user requests?


I had thought about copying configuration to instance, but I don't want to copy 
all time, because is wasting when you aren't using per request configuration.

-- 
Sergio Cambra .:: entreCables S.L. ::.
Mariana Pineda 23, 50.018 Zaragoza
T) 902 021 404 F) 976 52 98 07 E) [email protected]

-- 
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.

Reply via email to