Ruby on Rails Monday, May 8, 2017

On Monday, May 8, 2017 at 11:03:43 AM UTC-4, Colin Law wrote:
On 8 May 2017 at 15:50, fugee ohu <> wrote:
> database tables contain <tr><td>...
> when view renders < gets converted to &lt and > to &gt
> why is this happening?

To stop html injection

By the way did you solve your last issue (p==@posts.last)? You did not
reply to my question, which is not good manners.


Thanks, It works without the question mark at the end 
if p==@posts.last

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
To view this discussion on the web visit
For more options, visit

No comments:

Post a Comment