Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

jonathan-mui's Profile

GitHub User: jonathan-mui


Comments by


Late reply, but...

There's json.cache!, but I couldn't get that to work. I ended up doing a Rails.cache.fetch([id, 'name']) do ... end block around the entire json response in the jbuilder file.