Archive for October, 2009

Rails issue: when responding with json, if I try to “render(:update)”, I end up with “LocalJumpError (no block given)”. Changing the .json.erb file and the render call from “update” to some other name (such as update_prime) solves the problem. This has happened to me twice now. I use ResourcesController, if that has anything to do with it.
Note that render(:create) and render(:edit) work just fine.

Read Full Post »