News for hackers. Stuff that matters.
Re:Hexagonal Architecture Guidelines For Rails by ryanbrunner on Tuesday March 18, 2014 @01:34PM (#7423475)
If you had a view decorator that applied presentational logic to a model, I don't see a problem at all in including that in a controller. I wouldn't have any issue at all with a controller action that looked like:

    def index
      respond_with PersonListDecorator.wrap(Person.all)
    end
Re:Hexagonal Architecture Guidelines For Rails by nimblegorilla on Tuesday March 18, 2014 @05:33PM (#7425148)
Yeah I think that is a good idea. But to be fair: your example is only 1 line and has no business logic.