Hi Paul,

> I am thinking that passing an argument/parameter would be the best way to do
> this.

the easiest way to pass variables to a ctl file is through
ENV['myvar'] ; see
http://rubyforge.org/pipermail/activewarehouse-discuss/2007-October/000184.html
for a previous discussion on this topic.

> Any suggestions?

Yep - take care of concurrency issues if multiple users achieve a
request at the same time, or things won't scale properly. One solution
could be to:
- do the processing for all users as part of a nightly process
- and just achieve a request to the database, filtering by user_id

Thibaut
--
http://evolvingworker : tools for a better day
_______________________________________________
Activewarehouse-discuss mailing list
Activewarehouse-discuss@rubyforge.org
http://rubyforge.org/mailman/listinfo/activewarehouse-discuss

Reply via email to