model_accessor.camelize.constantize.send(:find, params[:id]) Now that’s awesome code. NOT!
@elight no we do basically the exact same thing. You just wouldn't need to be held responsible then, was my joke
-
-
@steveklabnik Ew. I’m sorry and I’m sorry, ;-)Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@steveklabnik I kind of got rid of that ugliness.. or at least I broke it up. -
@elight https://github.com/drapergem/draper/blob/master/lib/draper/finders.rb#L5-11 … was what we ended up doing - 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.