Why Rails is better than whatever it is you use: ToDo List in 5 Lines

Rob Mayhew prepared this ToDo List Tutorial

  1. rails todo
  2. cd todo
  3. rake db:create:all
  4. script/generate scaffold Todo title:string body:text done:boolean due:datetime
  5. rake db:migrate

Update: This code pretty much also provides you with a REST API.

3 Responses to “Why Rails is better than whatever it is you use: ToDo List in 5 Lines”

  1. Ryan Allen says:

    I so disagree! Sort of. :)

  2. pcdinh says:

    You said about Ruby and Rails as if it were a programming toy :D

  3. Alain Yap says:

    Happy New Year, Sir!

    I am wondering if RoR is easy I can’t seem to find lots of people going into it. How big is Ruby on rails on your part of the world? Are there plenty of people and groups into RoR?

    Best.
    alain

Leave a Reply