Skip to content

Instantly share code, notes, and snippets.

@ciberch
Created June 2, 2014 20:51
Show Gist options
  • Select an option

  • Save ciberch/d747d648dcc32dfaf618 to your computer and use it in GitHub Desktop.

Select an option

Save ciberch/d747d648dcc32dfaf618 to your computer and use it in GitHub Desktop.
Rendering json string with Rabl Engine
Rabl::Renderer.json(obj, "bla/show", format: :json, view_path: "views")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment