Postsbest practices (27) object oriented design (7) testing (7) models (4) performance (4) views (4) gems (3) case studies (2) cloudflare (1) controllers (1) metaprogramming (1) migrations (1)Rails MVC Violation: Less code in views, more clarity in codeViews are for presenting data. Not preparing it. Logic and data manipulation in views leads to complexity and code duplication.Best Practices ViewsRoland Lopez Roland Lopez02/05/2024 · 2 min readOOD Principles and Rails: The Law of DemeterIn Rails, it's tempting to chain method calls due to ActiveRecord associations. But it just creates a maintenance trap.Best Practices ModelsRoland Lopez Roland Lopez01/05/2024 · 1 min read