«

»

Jul 11

Ruby On Rails – The Journey Continues

I’m at the point where I am comfortable with the basics, with producing basic application skeletons, hooking together objects, using the scaffolding, etc.

But like everything else, the more I know, the more I realize I don’t know.  Here’s what I’m still struggling with (this gives me a list of things to focus on as I continue to work on RoR apps)

  • People say “you should be spending half your time or more in the test directory” – but I am unable to do that.  I’m quite familiar with Unit Testing and TDD, but I can’t  “grok” how to use the RoR unit testing “scaffold”.  I can’t really use it, and it doesn’t seem consistent with everything else
  • The test database – I don’t really know where to get started here, and so far I haven’t found much assistance in the books
  • The test fixtures – similar – I don’t know how to use them.  I tried, and everything blew up in my face

Reviewing the list, it appears that while the RoR MVC model is very intuitive and comfortable for me, the testing model is less so, and there’s probably some unlearning that I’ll need to do to get comfortable with it.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>