Skip to content

Commit

Permalink
Added task to load in instruction references
Browse files Browse the repository at this point in the history
  • Loading branch information
wpoynter committed Sep 8, 2016
1 parent 53744e0 commit f33f4d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/loader.rake
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ task :load_instrument_references, [:path] => [:environment] do |t, args|
if q.nil? || instruction.nil?
raise 'One of q or instruction could not be found'
else
q.association(:instruction).writer instruction
q.instruction_id = instruction.id
q.save!
end
rescue => e
Expand Down

0 comments on commit f33f4d9

Please sign in to comment.