rake does not returning anything
Posted
by
CHID
on Stack Overflow
See other posts from Stack Overflow
or by CHID
Published on 2011-01-07T19:43:02Z
Indexed on
2011/01/07
19:54 UTC
Read the original article
Hit count: 165
ruby-on-rails
Hi,
I jus created a rails application. I created a model using
ruby script/generate model Article
next i edited the my articles.rb file by adding these lines in self.up method
def self.up create_table :articles do |t| t.string :title t.text :body t.string :published_atNow i rant.timestamps end
end
rake db:migrate. But migrate does not work, it simply does no print anything. Anyone knows where i am going wrong?
© Stack Overflow or respective owner