Ruby 1.9 and Rails 3 Changes

by Cliff 28. October 2010

The following are some changes I recently came across when updating a rails 2.x plugin to 3.x.

 

  1. Default HTML Encoding or Escaping behavior has changed (XSS prevention).  Now, in order to not have your <>'s encoded, you can use <%= raw ... %> or "<div>".safe_html

  2. Time.parse will return 

 

Cliff Gray's Info

Cliff Gray
Developer/Founder GrayTechnology.com.

E-mail me Send mail

Authors

Calendar

<<  November 2017  >>
MoTuWeThFrSaSu
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

View posts in large calendar

Blogroll

Download BlogEngine.NET

Download at CodePlex

Disclaimer

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2017

Subscribe