Solution Timeline

All versions (edits) of solutions to notes/:id/edit fields aren't being populated correctly appear below in the order they were created. Comments that appear under revisions were those created when that particular revision was current.

To see the revision history of a single solution (with diffs), click on the solution number (ie. "#1") in the upper right corner of a solution revision below.

← Bounty Expand all edits

The first problem is caused by multiple attributes with the same name in the notes model. Here's a full request to fix it https://github.com/akshatpradhan/lending-round/pull/18

The first problem is caused by multiple attributes with the same name in the Note model. Here's a full request to fix it https://github.com/akshatpradhan/lending-round/pull/18

The first problem is caused by multiple attributes with the same name in the Note model. Here's a pull request to fix it https://github.com/akshatpradhan/lending-round/pull/18

The first problem is caused by multiple attributes with the same name in the Note model. Here's a pull request to fix it https://github.com/akshatpradhan/lending-round/pull/18

Here's a pull request to fix the 3rd issue (also includes the previous fix) https://github.com/akshatpradhan/lending-round/pull/19

Winning solution

I updated the pull request with a commit which brings back the JSON boilerplate code. This fixes your 2nd issue.