Link Details

Link 24378 thumbnail
User 229093 avatar

By hbien
via recursive2.com
Published: Jun 03 2007 / 23:13

Using test driven development on the beginning of a new ActiveRecord model.
  • 12
  • 0
  • 1323
  • 332

Comments

Add your comment
User 229093 avatar

Hugh Bien replied ago:

1 votes Vote down Vote up Reply

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.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (12)



Voters Against This Link (0)