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

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

2014-06-07 Thread Xavier Noria
On Sat, Jun 7, 2014 at 10:14 AM, Trung Lê wrote: At the moment view helper like form or input generates HTML with naming > that use underscore. Underscored naming is not the common convention used > in frontend dev. I'd like to propose a feature to switch to dashed naming. > Sounds good to me, w

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

2014-06-07 Thread Trung Lê
At the moment view helper like form or input generates HTML with naming that use underscore. Underscored naming is not the common convention used in frontend dev. I'd like to propose a feature to switch to dashed naming. -- You received this message because you are subscribed to the Google Grou