Live data from Hacker News

Rails view logic

abernardes.github.io

1–2 of 2 posts

Re: Rails view logic

#2
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