{"comment":{"url":"https://api.github.com/repos/accelestate/accelestate/comments/12241897","html_url":"https://github.com/accelestate/accelestate/commit/2da7e3d8edbbaab89dc8e9f788f52659c6472ddd#commitcomment-12241897","id":12241897,"user":{"login":"dira","id":29137,"avatar_url":"https://avatars.githubusercontent.com/u/29137?v=3","gravatar_id":"","url":"https://api.github.com/users/dira","html_url":"https://github.com/dira","followers_url":"https://api.github.com/users/dira/followers","following_url":"https://api.github.com/users/dira/following{/other_user}","gists_url":"https://api.github.com/users/dira/gists{/gist_id}","starred_url":"https://api.github.com/users/dira/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dira/subscriptions","organizations_url":"https://api.github.com/users/dira/orgs","repos_url":"https://api.github.com/users/dira/repos","events_url":"https://api.github.com/users/dira/events{/privacy}","received_events_url":"https://api.github.com/users/dira/received_events","type":"User","site_admin":false},"position":8,"line":8,"path":"app/models/auto_record.rb","commit_id":"2da7e3d8edbbaab89dc8e9f788f52659c6472ddd","created_at":"2015-07-19T11:03:59Z","updated_at":"2015-07-19T11:03:59Z","body":"@waseem Missing account required fields..\r\n\r\nThe best way I think of, to make sure that Rails has the same requirements as the UI, is\r\n\r\n* open `templates/<model_name>s/edit.hamlc`. \r\n* copy all the `[data-fields]` values\r\n* and keep the ones that are required (could be defined in the included schemas, `Address` or `AccountData`)"}}