Skip to content

Instantly share code, notes, and snippets.

@dp6ai
dp6ai / ruby2.1.8.MD
Last active February 18, 2016 10:34
  • application_form-2015
  • membership_application-2014
  • membership_application-2014
  • payments-api-2014
  • payments-api-2014
  • payments-dmz-2014
  • public-2012
  • shared-2014 -> /mnt/export/shared-2014
  • shared-2014 -> /mnt/export/shared-2014
  • soho_house-membership_application-api
@dp6ai
dp6ai / rails_website_launch_checklist.md
Last active August 29, 2015 14:25 — forked from jaymiejones86/rails_website_launch_checklist.md
Rails Website Launch Checklist

Ruby on Rails Website Launch Checklist

Copy this gist and customise it to your liking.

  • Run Brakeman and resolve any issues where required
  • Run rails best practices and resolve any warnings
  • Run full test suite and make sure all tests are passing
  • Make sure no dummy email addresses are left in any notification emails (eg contact form)
  • Make sure production assets compile correct (eg files in vendor, etc, compile and are not 404'ing in production environment)
  • If using unicorn in production, make sure deploys are restarting the unicorns
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')
=Navigating=
visit('/projects')
visit(post_comments_path(post))
=Clicking links and buttons=
click_link('id-of-link')
click_link('Link Text')
click_button('Save')
click('Link Text') # Click either a link or a button
click('Button Value')