@voxdolo "View Model" is a good and reasonable solution that (mostly) adheres to SRP. I like.
-
-
Replying to @supaspoida
@supaspoida@reinh@voxdolo IIRC the view context is an anonymous class. I would like a non-global place to put helper methods.2 replies 0 retweets 0 likes -
Replying to @chriseppstein
@chriseppstein@rbates current code: https://github.com/drapergem/draper/blob/master/lib/draper/view_context.rb …3 replies 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik@chriseppstein same with decent_exposure. I'd probably use it if it was built in, but I find it not worth the cost of adding.1 reply 0 retweets 0 likes -
Replying to @rbates
@rbates@steveklabnik I find the built-in vs plugin argument incredibly silly, to be honest.1 reply 0 retweets 0 likes -
Replying to @chriseppstein
@chriseppstein@steveklabnik I have scars from trying to juggle plugin dependencies, which is why I'm cautious whenever adding them.3 replies 0 retweets 0 likes
@rbates @chriseppstein yeah, I go back and forth.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.