Skip to content

Instantly share code, notes, and snippets.

@henare
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henare/ca535251fd9970242818 to your computer and use it in GitHub Desktop.
Save henare/ca535251fd9970242818 to your computer and use it in GitHub Desktop.

Generated with this in a Rails console:

tied_divisions = Division.all.select(&:tied?)
tied_divisions.each { |division| puts "* [#{division.australian_house} #{division.date} (#{division.number})](http://publicwhip-rails.openaustraliafoundation.org.au#{app.division_path(date: division.date, number: division.number, house: division.australian_house)})" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment