This was causing me to scratch my head a bit today. I'm glad I know what's going on now and why you need to use safe_concat. It still seems a little unintuitive though.
For more into see the
explanation here (under the "the tricky part") and the api docs on
ActiveSupport::SafeBuffer
1 comment:
Thanks a lot! I also was scratching my head :)
Post a Comment