Skip to content

Instantly share code, notes, and snippets.

@rramsden
Created February 1, 2011 18:52
Show Gist options
  • Save rramsden/806379 to your computer and use it in GitHub Desktop.
Save rramsden/806379 to your computer and use it in GitHub Desktop.
# RAILS 2.3.4
ruby-1.8.7-p302 > Child.all.size
=> 4
ruby-1.8.7-p302 > SubChild.all.size
=> 5
ruby-1.8.7-p302 > Child.all.size
=> 9
ruby-1.8.7-p302 >
# RAILS 3
ruby-1.9.2-p0 :001 > Child.all.size
=> 8
ruby-1.9.2-p0 :002 > SubChild.all.size
=> 4
ruby-1.9.2-p0 :003 > Child.all.size
=> 8
ruby-1.9.2-p0 :004 >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment