We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5076029 commit 83209e4Copy full SHA for 83209e4
lib/tasks/data_migrations.rake
@@ -85,7 +85,7 @@ namespace :data_migrations do
85
attribute_category_id: categories_for_this_page_type_and_user,
86
user_id: referencing_page.user_id,
87
field_type: 'link',
88
- old_column_source: link.name == Deityship.name ? 'deity_characters' : relation_params[:through_relation].pluralize
+ old_column_source: link.class.name == Deityship.name ? 'deity_characters' : relation_params[:through_relation].pluralize
89
)
90
91
if attribute_field.count > 1
0 commit comments