Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've got mixed feeling about STI. We're using it for one of our larger projects with success. I don't like that they recommend polymorphism for everything; this makes iterating collections of the interface very difficult.

Controller tests are actually really important for a few reasons; one of the more obvious being user authentication. While our controllers tests are anemic when compared to our model tests, we do test the more heavily used controllers.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: