model_accessor.camelize.constantize.send(:find, params[:id]) Now that’s awesome code. NOT!
@elight https://github.com/drapergem/draper/blob/master/lib/draper/finders.rb#L5-11 … was what we ended up doing
-
-
@steveklabnik Yep. I was going to write basically the same thing until I realize that my design needed to change for different reasons.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.