Quick and dirty(?) Rails 2.0.1 Todo List

So I really needed to get a todo list up and running VERY quickly with minimal hassle. Rails to the rescue! With 2.0.1, you can do the following:

rails todos cd todo rake db:create:all script/generate scaffold Todo title:string body:text done:boolean due:datetime percentage:integer rake db:migrate

And then, if you want, add a bit of CSS like I did to create that progress bar, and voila! Insta-TODO. I plan to make the CSS and any other modifications I add to this little Rails-one-liner public very soon (as an update to this post).

Written on February 7, 2008