Quick and dirty(?) Rails 2.0.1 Todo List 6
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:
And then, if you want, add a bit of CSS like I did (screenshot!) 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).
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 (screenshot!) 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).
Comments
-
Got my freshly installed bsd to try it out on :) .. first experiment with ruby :)
-
Hmm it appears the in Fbsd release ruby is as 1.8
-
hi hisham, i saw your screenshots, then i know you are a programmer, i'd like to know how can i learn data structures without a teacher..i'd like some basic bibliographic..i have a base with algorithms(loops,conditions,array etc).. thank you.
-
First of all, you need to pick a programming language. I would suggest something with pointers and memory management (C / C++). All you need to do after that is get yourself a Data Structures / Design book in C. There are quite a lot, take a look over at amazon for something you like.
-
If you think you are beaten, you are. If you think you dare not, you don't. If you'd like to win but think you can't, It's almost certain you won't. Life's battles don't always go To the stronger or faster man, But sooner or later, the man who wins Is the man who thinks he can.
-
By upholding the principle of shared happiness, you can obtain much kind support, which is a starting point for success.