Hacker News new | comments | show | ask | jobs | submit login
Rails view logic (abernardes.github.io)
1 point by abernardes on Sept 23, 2014 | hide | past | web | favorite | 1 comment



Very good article!

If you have a validation that prevents the price change, so you really does not need to test the view logic. Only your presenter. If the user change the price, it is never saved on the database.

Thanks again :D




Applications are open for YC Winter 2019

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

Search: