Ruby 1.9 and Rails 3 Changes

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 


Pingbacks and trackbacks (2)+

Comments are closed