In my model I have:
after_create :push_create
I push_create I need to render a view. I\'m trying to do that like so:
def
I have created a gist for this. I needed something similar, where the models don't necessarily (or in my case, ever) get updated via a controller, so the logic can't sit there.
Created a server-push based controller: https://gist.github.com/4707055