Best bet for appending querystring parameters to all links rendered under some condition?

2008-12-05 Thread petemounce
So I'm writing a view-component that outputs some performance information, and I'm also looking at the CombineJS component that there's a patch for. I want to be able to launch an action in a MonoRail site in debug mode - which would mean the performance view- component would render as opposed

Re: Best bet for appending querystring parameters to all links rendered under some condition?

2008-12-05 Thread Ken Egozi
why not use the DEBUG precompiler var? On Fri, Dec 5, 2008 at 10:36 AM, petemounce [EMAIL PROTECTED] wrote: So I'm writing a view-component that outputs some performance information, and I'm also looking at the CombineJS component that there's a patch for. I want to be able to launch an

Re: Want to do a fancy sum in an active Record query

2008-12-05 Thread Markus Zywitza
AFAIK there is no CASE in HQL. But since you're querying values, not objects, I'd rather go for a SQL query in your case. -Markus 2008/12/4 M Kenyon II [EMAIL PROTECTED] I am doing a report that sums hours for several employees, based on a grouping per week. I want to find how much overtime

Re: Best bet for appending querystring parameters to all links rendered under some condition?

2008-12-05 Thread petemounce
Because sadly I've never known code deployed in production that hasn't needed debugging of some sort ;-) On Dec 5, 9:07 am, Ken Egozi [EMAIL PROTECTED] wrote: why not use the DEBUG precompiler var? On Fri, Dec 5, 2008 at 10:36 AM, petemounce [EMAIL PROTECTED] wrote: So I'm writing a

Re: Best bet for appending querystring parameters to all links rendered under some condition?

2008-12-05 Thread petemounce
Yes; I like that approach. Thanks. On Dec 5, 9:19 am, Alex Henderson [EMAIL PROTECTED] wrote: Why not either create a debug cookie or a some debug session data after the first instance, rather then take the brute force approach of rewriting every url... then just using ?debug=0 to later

Re: AR with Multiple DB´S

2008-12-05 Thread josh robb
On Thu, Dec 4, 2008 at 6:06 AM, Gabriel Mancini de Campos [EMAIL PROTECTED] wrote: hi i have thinking... is not a better choice create a public class MultiBaseInterceptior : IInterceptor ??? and in moment of persistence, change the DB? someone here, know's which method from IInterceptor