Does any body know how I can output JSON so that instead of getting:
{booking: {id: 1, name: "foo"}
You get this instead:
{id: 1, name: "foo"}
Can't find a solution for this at all
Thank you for any help.
Does any body know how I can output JSON so that instead of getting:
{booking: {id: 1, name: "foo"}
You get this instead:
{id: 1, name: "foo"}
Can't find a solution for this at all
Thank you for any help.
Does any body know how I can output JSON so that instead of getting:
{booking: {id: 1, name: "foo"}
There should be an initializer in your app called something like
new_rails_defaults.rb that shows you how to control this
Thanks, That worked great.