RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Handmade Rails presenters

The presenter pattern is one possible way to move logic from your views into a place where it’s not only better suited, but can also be reused. In this article, I want to offer a lightweight implementation that both explains some specialties when used with Rails helpers and doesn’t need any external dependencies. https://christoph.luppri.ch/articles/2015/07/04/handmade-rails-presenters/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in