Displaying 1 result from an estimated 1 matches for "to_josn".
Did you mean:
do_join
2011 Aug 17
2
JSON PUT/POST/UPDATE
Hey all... I''m building a RESTful JSON API and I find myself writing
this:
JSON.parse(request.body.read)
...over and over in every controller action that accepts JSON in the
request body (which is a lot of actions).
Does rails have a better built-in way to keep the code more DRY? Or
should I solve that somehow myself?
Thanks,
Cainus
--
You received this message because you are