class UpdateIssueAuthor < ActiveRecord::Migration def up begin issue = Issue.find(9377) issue.update_column(:author_id, 15341) rescue Exception => e puts e end end def down end end