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 

 

Related posts

Comments

November 12. 2010 21:11

pingback

Pingback from test.listicles.com

Ruby 1.9 and Rails 3 Changes | Listicles

test.listicles.com

November 13. 2010 15:09

pingback

Pingback from test.listicles.com

Ruby 1.9 and Rails 3 Changes | Listicles

test.listicles.com

Comments are closed

Cliff Gray's Info

Cliff Gray
Developer/Founder GrayTechnology.com.

E-mail me Send mail

Authors

Calendar

<<  September 2019  >>
MoTuWeThFrSaSu
2627282930311
2345678
9101112131415
16171819202122
23242526272829
30123456

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 2019

Subscribe