TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Rails view logic

1 pointsby abernardesover 10 years ago

1 comment

ed_resendeover 10 years ago
Very good article!<p>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.<p>Thanks again :D