Commit 9de3fcbc authored by Eric Davis's avatar Eric Davis

[#397] Remove FIXME, there is only one activity per Model

parent c034d5e5
......@@ -13,7 +13,6 @@ class UpdateJournalsForActsAsJournalized < ActiveRecord::Migration
j = j.becomes(klass_name.constantize)
j.type = klass_name
j.version = idx + 2 # initial journal should be 1
# FIXME: Find some way to choose the right activity here
j.activity_type = j.journalized_type.constantize.activity_provider_options.keys.first
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment