Simple View Presenter Pattern in Rails without using Gems

What’s the size of user.rb file in your current project? The default Rails way model-view-controller architecture often leads to a bloated model layer. Presenter pattern is one of the more straightforward ways to slim down your Rails models. It also helps to reduce the logic in the view layer and makes testing easier. In this blog post, I’ll describe how to implement a presenter pattern without including additional gem dependencies.
Simple View Presenter Pattern in Rails without using Gems #ruby #rubydeveloper #rubyonrails #gems https://rubyonrails.ba/single/simple-view-presenter-pattern-in-rails-without-using-gems

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles