Re: [Rails-core] .html_safe is ambiguous and should be renamed

2015-02-06 Thread George Millo
I didn't realise I wasn't supposed to be using html_safe. Perhaps the documentation should be updated to make this clearer? On 6 February 2015 at 16:50, Rafael Mendonça França wrote: > Renaming this method is not an option. > > The main reason is: it should not be used by end users. It is an > i

Re: [Rails-core] .html_safe is ambiguous and should be renamed

2015-02-05 Thread George Millo
In years of using Rails it has never occurred to me that the name "html_safe" can be ambiguous until just now when I read this thread. When is a developer going to stumble across this method without knowing what it means and insert it blindly into their code? If it really *is *ambiguous, peopl