KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Say i have this short code: item = Item.find(params[:id]) render :json => item.to_json but i needed to insert/push extra information to the returned json object, how do i do that? Lets say i need to insert this extra info: message : "it works" Thanks.
Tags (comma-separated)
Save Edits
Cancel