beyond-z/beyondz-platform — pull request #273 by adamdruppe (2014-12-18 20:24:22+00:00)
Title: resume language fixes and better instructions

This changes the seeds to serve as a long running record. To actually apply the change on any of the live servers, run this in the console instead. remember this goes on the BZ website (heroku), not canvas.

aid = AssignmentDefinition.where(:seo_name => 'resume').first.id

# Delete the write your resume tasks as they are now in canvas
TaskDefinition.where(:assignment_definition_id => aid, :position => 10).first.destroy!
TaskDefinition.where(:assignment_definition_id => aid, :position => 11).first.destroy!

# Fix up language: Alex should be Louis
td = TaskDefinition.where(:assignment_definition_id => aid, :position => 3).first

td.details.sub!('Alex', 'Louis')
td.save!

# Fix link to action verbs
# https://s3.amazonaws.com/uploads.hipchat.com/81469/599635/MDQBb2EEgpjTxtz/Action%20Verb%20List_121714.docx
td = TaskDefinition.where(:assignment_definition_id => aid, :position => 4).first

td.details = '

Take a look at Louis\', Eric\'s and Amanda\'s resumes and consider their impact. How well do they do in terms of overall formatting? What details do they include in their education? Do they use strong action verbs to describe their experience and leadership? Do they include skills and interests that round them out? Refer back to the resume rubric!

'

td.save!

# Add instructions to page
td = TaskDefinition.where(:assignment_definition_id => aid, :position => 5).first
td.details = '

Instructions: Check out resumes for Louis, Amanda and Eric and take a close look at what they do well and where they could improve. You can hover over each of the (i) icons in gray to get a more detailed explanation on what they did and suggested tips and recommendations for improving your own resume.

' + td.details

td.save!

# Fix up mistake: sjsu with berkeley
td = TaskDefinition.where(:assignment_definition_id => aid, :position => 5).first

td.details.sub!('sjsu', 'berkeley')
td.save!