Skip to content

Richard Hulse

Stuff I'm Thinking About

  • About

Category: Ruby

Ruby

Decorator Object Pattern for Rails

April 11, 2016April 11, 2016 RichardLeave a comment

One of the challenges with any web application as it grows is corralling code into understandable units. This need drives many people to use a decorator (or presenter) pattern to collect the display logic associated with underlying models into one object to us in the view. I had the same issue in the App that… Continue reading Decorator Object Pattern for Rails

Recent Posts

  • My Auction to Sell ‘Military Grade Tin Foil’
  • Review: The new RNZ news theme
  • Takeaways are ruining restaurants
  • Book Review: The Little Sleep Book
  • Understanding MVP

Recent Comments

Deborah Makarios on My Auction to Sell ‘Mili…
simonchulse on Takeaways are ruining res…
The Reviews For The… on Book Review: The Little Sleep…
Deborah Makarios on You’ve got to know who t…
Deborah Makarios on Cave Dwelling – Day…

Archives

Categories

  • Audio
  • Books
  • Broadcasting
  • Business
  • code
  • Covid 19
  • Food
  • General
  • Media
  • Personal
  • Ruby
  • Satire
  • Techology
  • The Grand Tour
  • Uncategorized
Blog at WordPress.com.
  • Follow Following
    • Richard Hulse
    • Join 35 other followers
    • Already have a WordPress.com account? Log in now.
    • Richard Hulse
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar