Created
December 11, 2008 11:43
-
-
Save rhyhann/34671 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(hy@sb) irb | |
irb(main):001:0> require 'blog.rb' | |
== Performing Up Migration #1: auto_migrate | |
ALTER TABLE "posts" ADD COLUMN "categories" VARCHAR DEFAULT NULL | |
-> 0.0030s | |
ALTER TABLE "posts" ADD COLUMN "tags" VARCHAR DEFAULT NULL | |
-> 0.0015s | |
-> 0.0056s | |
=> true | |
irb(main):002:0> Post.all | |
=> [] | |
irb(main):003:0> Post.new | |
=> #<Post id=nil name=nil content=nil slug=nil> | |
irb(main):004:0> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment