Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Be compatible with Rails to_json

#170

The default way to serialize records to JSON in Rails gives the following JSON structure:

[{ "user : { "field1":"value1"}}]

Instead of the Restfulie way:

{"users: [{"field1":"value1"}]}

In order to migrate more fluently from the default Rails way to the Restfulie way it would be nice if the Rails style could be easily achieved with the Tokamak dsl. And as Guilherme pointed out on the mailing list: "the first one allows
multiple types within the array..."

Reported by Jeroen van Dijk · January 31st, 2011 @ 07:02 AM

State: new
Milestone: none
Assigned to: nobody

Activity

No comments yet.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.