{"comment":{"url":"https://api.github.com/repos/LunaLikesArt/firehose-nomster/comments/15636770","html_url":"https://github.com/LunaLikesArt/firehose-nomster/commit/43c1ea84d4c95344c0fc6f034d18a1af2d597a70#commitcomment-15636770","id":15636770,"user":{"login":"colinpetruno","id":1508945,"avatar_url":"https://avatars.githubusercontent.com/u/1508945?v=3","gravatar_id":"","url":"https://api.github.com/users/colinpetruno","html_url":"https://github.com/colinpetruno","followers_url":"https://api.github.com/users/colinpetruno/followers","following_url":"https://api.github.com/users/colinpetruno/following{/other_user}","gists_url":"https://api.github.com/users/colinpetruno/gists{/gist_id}","starred_url":"https://api.github.com/users/colinpetruno/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/colinpetruno/subscriptions","organizations_url":"https://api.github.com/users/colinpetruno/orgs","repos_url":"https://api.github.com/users/colinpetruno/repos","events_url":"https://api.github.com/users/colinpetruno/events{/privacy}","received_events_url":"https://api.github.com/users/colinpetruno/received_events","type":"User","site_admin":false},"position":5,"line":95,"path":"app/views/places/show.html.erb","commit_id":"43c1ea84d4c95344c0fc6f034d18a1af2d597a70","created_at":"2016-01-24T15:22:26Z","updated_at":"2016-01-24T15:22:26Z","body":"This is a nested resource. The simple_form_for then becomes an array of the nested objects. \r\n\r\n```ruby\r\nsimple_form_for [@photo.place, @photo] do |f|\r\n```\r\n\r\nThen the url will be done for you and you can get rid of the url specification"}}