Rail2 and Rails3 beta3 process <%= ‘
hello
’ %> differently.Rails3 must use <%= capture {‘
hello
’} %> to get the sameresult as Rails2
Is this intentional or is it a bug?
Rail2 and Rails3 beta3 process <%= ‘
Rails3 must use <%= capture {‘
Is this intentional or is it a bug?
Rails 3 escapes content by default now.
See RailsDispatch.com is for sale | HugeDomains for more details.
So, now you have to use either:
<%=raw ‘
Or:
<%= ‘
Regards
Kieran
On May 8, 2:37 pm, “[email protected]” [email protected]
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs