Re: [Rails-core] Feature Request: Do not allow to give Exception to rescue_from in controllers or at least show warning

2014-06-23 Thread godfoca
Make it a warning, and let people turn the warning off if they actually need it for some reason (though really, I can't think of a valid use case). Cheers, -foca On Mon, Jun 23, 2014 at 7:54 PM, Amiel Martin wrote: >> >> Rescuing `Exception` is not the best practice, but there are reasons

Re: [Rails-core] Feature request: Alternative separator for view helper

2014-06-07 Thread godfoca
I usually just put in my application helper something along the lines of     def dom_id(*)       super.gsub("_", "-")     end Ditto for classes. It works pretty well :) Cheers,  -foca On Sat, Jun 7, 2014 at 3:33 PM, Xavier Noria wrote: > On Sat, Jun 7, 2014 at 10:14 AM, Trung Lê wr