Skip to content

Instantly share code, notes, and snippets.

@runemadsen
Created April 29, 2011 21:50
Show Gist options
  • Select an option

  • Save runemadsen/949101 to your computer and use it in GitHub Desktop.

Select an option

Save runemadsen/949101 to your computer and use it in GitHub Desktop.
Branch queries for Versionize
a = Branch.create(:name => "Original", :alias => "master")
b = a.children.create(:name => "New Branch", :alias => "newbranch")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment