RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: nilcolor
This is exactly thing I need! Thanks for your reply.
Is it possible to create something like this:
{ message: "...", data: [{"array_of_records": "from_db"}], meta: "..." }
Where message and meta - is custom keys (not in AR). And all data goes under data key?
message
meta
data
This is exactly thing I need! Thanks for your reply.
Is it possible to create something like this:
Where
message
andmeta
- is custom keys (not in AR). And all data goes underdata
key?