[ARVADOS] updated: 7ed1dcf8b0bfa8fc78f228a07b2318094b68abea
git at public.curoverse.com
git at public.curoverse.com
Mon May 19 15:00:17 EDT 2014
Summary of changes:
services/api/db/migrate/20140422011506_pipeline_instance_state.rb | 2 ++
1 file changed, 2 insertions(+)
via 7ed1dcf8b0bfa8fc78f228a07b2318094b68abea (commit)
from 5da718633e3663073a624db78274cd69e5dfe6e0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 7ed1dcf8b0bfa8fc78f228a07b2318094b68abea
Author: Tom Clegg <tom at curoverse.com>
Date: Mon May 19 14:57:37 2014 -0400
2352: Reset column information between adding a new serialized
attribute and using the model. Otherwise, Rails (4) fails to validate
the serialized attribute.
diff --git a/services/api/db/migrate/20140422011506_pipeline_instance_state.rb b/services/api/db/migrate/20140422011506_pipeline_instance_state.rb
index cc153b9..6034c98 100644
--- a/services/api/db/migrate/20140422011506_pipeline_instance_state.rb
+++ b/services/api/db/migrate/20140422011506_pipeline_instance_state.rb
@@ -10,6 +10,8 @@ class PipelineInstanceState < ActiveRecord::Migration
add_column :pipeline_instances, :components_summary, :text
end
+ PipelineInstance.reset_column_information
+
act_as_system_user do
PipelineInstance.all.each do |pi|
pi.state = PipelineInstance::New
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list