@steveklabnik checking out draper. I like the idea, but I dislike the global state: https://github.com/jcasimir/draper/blob/master/lib/draper/view_context.rb …, is it really necessary?
@jonicklas it is not ideal but it's the best possible way at the moment. there isn't really an API exposed to get this kind of info
-
-
@steveklabnik can't you just send it in as a parameter to the presenter? -
@jonicklas@steveklabnik e.g. SomePresenter.new(self,@my_model) - Show replies
New conversation -
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.