actionpack

Speed up Rails controller speed easily

When we adding a Rails controller action, especially for #show. Usually it would be like this: def show post = Post.find(params[:id]) render json: post...