In some part of my code I ended writing the following: where self is some ActiveRecord model, and count_processed is an attribute of that model (and stored in the database). What am i trying to achieve (if it is not blatantly obvious): if count_processed is not initialised, make it zero increment count_processed Imho this code [...]
-
Pages
-
Recent Comments
- nathanvda on upgrading rails 2.3.5 to rails 3.2.13
- Yuri Leikind on upgrading rails 2.3.5 to rails 3.2.13
- Yuri Leikind on upgrading rails 2.3.5 to rails 3.2.13
- nathanvda on authlogic on rails3
- Aron on authlogic on rails3
-
Latest Tweets
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
