[DRE-commits] [diaspora] 250/257: disable a rails option to fix failure
Praveen Arimbrathodiyil
praveen at moszumanska.debian.org
Sun Apr 12 14:17:34 UTC 2015
This is an automated email from the git hooks/post-receive script.
praveen pushed a commit to branch master
in repository diaspora.
commit 1f4c0ee1da9323bf6ce3c201a0ee71fb8ed7111f
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date: Sat Apr 11 13:06:44 2015 +0530
disable a rails option to fix failure
---
.../040-disable-raise_in_transactional_callbacks.patch | 14 ++++++++++++++
debian/patches/series | 1 +
2 files changed, 15 insertions(+)
diff --git a/debian/patches/040-disable-raise_in_transactional_callbacks.patch b/debian/patches/040-disable-raise_in_transactional_callbacks.patch
new file mode 100644
index 0000000..ddc4e46
--- /dev/null
+++ b/debian/patches/040-disable-raise_in_transactional_callbacks.patch
@@ -0,0 +1,14 @@
+to fix undefined method `raise_in_transactional_callbacks=' for ActiveRecord::Base:Class
+
+Index: diaspora/config/application.rb
+===================================================================
+--- diaspora.orig/config/application.rb
++++ diaspora/config/application.rb
+@@ -101,6 +101,6 @@ module Diaspora
+ end
+
+ # Will be default with Rails 5
+- config.active_record.raise_in_transactional_callbacks = true
++ #config.active_record.raise_in_transactional_callbacks = true
+ end
+ end
diff --git a/debian/patches/series b/debian/patches/series
index 789b83b..4fe2473 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@
018-loosen-rails-timeago.patch
021-loosen-omniauth-facebook-version.patch
030-loosen-tiny-versions.patch
+040-disable-raise_in_transactional_callbacks.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/diaspora.git
More information about the Pkg-ruby-extras-commits
mailing list