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:
- Set RAILS_GEM_VERSION = ‘2.3.2’ (easy)
- 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>
- I updated shoulda to the latest version. This resulted in a number of deprecation warnings which took me a while to fix. </ol> The release notes are worth a read.