Hope you guys enjoy this article, it's the beginning of developing an ActiveRecord model for the Rails framework. It's not a full TDD tutorial, but it'll show you how to use TDD to come up with an AR model quickly for use in your controllers.
Once you've got the basics of the model up and running, you can start working on your controller and refactor functionality into your model. I'll write about that in the next article.
Comments
Hugh Bien replied ago:
Hope you guys enjoy this article, it's the beginning of developing an ActiveRecord model for the Rails framework. It's not a full TDD tutorial, but it'll show you how to use TDD to come up with an AR model quickly for use in your controllers.
Once you've got the basics of the model up and running, you can start working on your controller and refactor functionality into your model. I'll write about that in the next article.
Voters For This Link (12)
Voters Against This Link (0)