Ruby on Rails ·

Updating Genlighten from Rails 2.2.2 to Rails 2.3.2

I can’t resist new stuff so I’m updating Genlighten to Rails 2.3.2. This release comes with some pretty sweet additions like Rack. Here’s what I had to do:

  1. Set RAILS_GEM_VERSION = ‘2.3.2’ (easy)

  2. Removed stuff like this from my code:

    
                protect_from_forgery :except => :swfupload
                session :cookie_only => false, :only => :swfupload
              </pre>
              -- 'The :digest and :secret options to protect_from_forgery are deprecated and have no effect.' and sessions are lazy loaded now.</li>
    	<li>I updated shoulda to the latest version.  This resulted in a number of deprecation warnings which took me a while to fix.</li>
    
    </ol>
    <a href="http://guides.rubyonrails.org/2_3_release_notes.html">The release notes are worth a read</a>.