ruby - rake aborted ! name error uninitialized constant Rails :: API :: Rdoc -
when trying run rake db:migrate
in rails error:
rake aborted ! name error uninitialized constant rails :: api :: rdoc
i newbie in ruby on rails following youtube tutorial build web blog application: https://www.youtube.com/watch?v=bi_vnnolsky
in video runs rake db fine, confused why got rake aborted error in command prompt, migration file code is:
class createposts < activerecord::migration def change create_table :posts |t| t.string :title t.text :body t.timestamps end end end
would please me this?
Comments
Post a Comment