From 89d72f7f1e7b6cc9dde8453dec248922906036ff Mon Sep 17 00:00:00 2001
From: Maxwell Salzberg <maxwell@joindiaspora.com>
Date: Mon, 14 May 2012 18:30:19 -0700
Subject: [PATCH] most recent version of rails has a bug which causes
 conversations to break: see https://github.com/rails/rails/issues/6312

---
 Gemfile      |  2 +-
 Gemfile.lock | 57 +++++++++++++++++++++++++---------------------------
 2 files changed, 28 insertions(+), 31 deletions(-)

diff --git a/Gemfile b/Gemfile
index 276e217abd..cce539fa70 100644
--- a/Gemfile
+++ b/Gemfile
@@ -3,7 +3,7 @@ source 'http://rubygems.org'
 gem 'bundler', '> 1.1.0'
 ruby '1.9.3' if ENV['HEROKU']
 
-gem 'rails', '3.2.3'
+gem 'rails', '3.2.2'
 
 gem 'foreman', '0.41'
 gem 'whenever'
diff --git a/Gemfile.lock b/Gemfile.lock
index 00d21b963c..5fdf7dfbf1 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -41,34 +41,34 @@ GEM
   remote: http://rubygems.org/
   specs:
     SystemTimer (1.2.3)
-    actionmailer (3.2.3)
-      actionpack (= 3.2.3)
-      mail (~> 2.4.4)
-    actionpack (3.2.3)
-      activemodel (= 3.2.3)
-      activesupport (= 3.2.3)
+    actionmailer (3.2.2)
+      actionpack (= 3.2.2)
+      mail (~> 2.4.0)
+    actionpack (3.2.2)
+      activemodel (= 3.2.2)
+      activesupport (= 3.2.2)
       builder (~> 3.0.0)
       erubis (~> 2.7.0)
       journey (~> 1.0.1)
       rack (~> 1.4.0)
-      rack-cache (~> 1.2)
+      rack-cache (~> 1.1)
       rack-test (~> 0.6.1)
       sprockets (~> 2.1.2)
-    activemodel (3.2.3)
-      activesupport (= 3.2.3)
+    activemodel (3.2.2)
+      activesupport (= 3.2.2)
       builder (~> 3.0.0)
-    activerecord (3.2.3)
-      activemodel (= 3.2.3)
-      activesupport (= 3.2.3)
+    activerecord (3.2.2)
+      activemodel (= 3.2.2)
+      activesupport (= 3.2.2)
       arel (~> 3.0.2)
       tzinfo (~> 0.3.29)
     activerecord-import (0.2.9)
       activerecord (~> 3.0)
       activerecord (~> 3.0)
-    activeresource (3.2.3)
-      activemodel (= 3.2.3)
-      activesupport (= 3.2.3)
-    activesupport (3.2.3)
+    activeresource (3.2.2)
+      activemodel (= 3.2.2)
+      activesupport (= 3.2.2)
+    activesupport (3.2.2)
       i18n (~> 0.6)
       multi_json (~> 1.0)
     acts-as-taggable-on (2.2.2)
@@ -347,14 +347,14 @@ GEM
       rack
     rack-test (0.6.1)
       rack (>= 1.0)
-    rails (3.2.3)
-      actionmailer (= 3.2.3)
-      actionpack (= 3.2.3)
-      activerecord (= 3.2.3)
-      activeresource (= 3.2.3)
-      activesupport (= 3.2.3)
+    rails (3.2.2)
+      actionmailer (= 3.2.2)
+      actionpack (= 3.2.2)
+      activerecord (= 3.2.2)
+      activeresource (= 3.2.2)
+      activesupport (= 3.2.2)
       bundler (~> 1.0)
-      railties (= 3.2.3)
+      railties (= 3.2.2)
     rails-i18n (0.6.3)
       i18n (~> 0.5)
     rails_admin (0.0.3)
@@ -372,9 +372,9 @@ GEM
       sass-rails (~> 3.1)
     rails_autolink (1.0.7)
       rails (~> 3.1)
-    railties (3.2.3)
-      actionpack (= 3.2.3)
-      activesupport (= 3.2.3)
+    railties (3.2.2)
+      actionpack (= 3.2.2)
+      activesupport (= 3.2.2)
       rack-ssl (~> 1.3.2)
       rake (>= 0.8.7)
       rdoc (~> 3.4)
@@ -425,19 +425,16 @@ GEM
     ruby-progressbar (0.0.10)
     rubyzip (0.9.8)
     sass (3.1.18)
-<<<<<<< HEAD
     sass-rails (3.1.4)
       actionpack (~> 3.1.0)
       railties (~> 3.1.0)
       sass (>= 3.1.4)
       sprockets (~> 2.0.0)
       tilt (~> 1.3.2)
-=======
     sass-rails (3.2.5)
       railties (~> 3.2.0)
       sass (>= 3.1.10)
       tilt (~> 1.3)
->>>>>>> upgrade to Rails 3.2.3
     selenium-webdriver (2.22.0.rc1)
       childprocess (>= 0.2.5)
       ffi (~> 1.0)
@@ -566,7 +563,7 @@ DEPENDENCIES
   rack-piwik
   rack-rewrite (~> 1.2.1)
   rack-ssl
-  rails (= 3.2.3)
+  rails (= 3.2.2)
   rails-i18n
   rails_admin (~> 0.0.3)
   rails_autolink
-- 
GitLab