06 March 2008
Ruby on Rails and DRY

I'm working on a big Rails app for work - well, it's not really that big - and as I'm still getting used to the Rails philosophy I can feel myself start slipping away from it, into what's easier rather than what's better.
The whole DRY strategy is fun, but I feel like I'm teetering on the brink of "losing" control of this application.

Part of this come from the fact that I'm using .RHTML for all my views, but a few are in HAML as I'm experimenting with HAML - and within the RHTML, I don't always use the Rails Form Helper stuff - sometimes I put explicit HTML instead - mostly to embed javascript etc.