Apparently need to save

This commit is contained in:
michael@discoursehosting.com 2017-04-02 20:28:16 +00:00
parent a72f56c3a7
commit 7d09af141e
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ class ImportScripts::Smf2 < ImportScripts::Base
post_create_action: proc do |user| post_create_action: proc do |user|
user.update(created_at: create_time) if create_time < user.created_at user.update(created_at: create_time) if create_time < user.created_at
user.save
GroupUser.transaction do GroupUser.transaction do
group_ids.each do |gid| group_ids.each do |gid|
group_id = group_id_from_imported_group_id(gid) and group_id = group_id_from_imported_group_id(gid) and