Chad Taylor

Results 34 comments of Chad Taylor

Ah, so I appended `.json` to the url like so: `http://localhost:3001/v2/people.json` and a new error came up: ``` Started GET "/v2/people.json" for 127.0.0.1 at 2015-02-03 14:25:17 -0800 Processing by Api::V2::PeopleController#index...

`roar 1.0.0` `roar-rails 1.0.1` `rails 4.2.0` I love Rails. :)

I'm pretty sure -- the thing is we're knee-deep into a Rails project... so we can't switch boats just yet. :(

Correct, am using rails-api and the file index.html.haml doesn't even exist... this is so weird. Yea, FTW, will continue to play around and get something going! :) Thanks!

Yes, I have views but they're for mailers only (ie: app/view/person_mailer). My issue was trying to keep one representer for each models (rather than creating two for each model like...

Do you have a sample of what a representer for collections should look like? Yea, `represent_items_with` for `render` would be awesome… one day! :)

:) Ah, thanks for the Lonely Collection tip -- I overlooked that! Now things are rendering for collections _high five_ and there's a but... Here's what the result looked like:...

Ah, thanks... just added `self.represenation_wrap = :people` and we are so close... Here's the new JSON payload: ``` { people: [ { "people":{ "id":8, "first_name":"Jane", "last_name":"Doe", "full_name":"Jane Doe", } },...

(will paste soon; BTW just bought your book....)

Before I used this gem, I was able to rename the file... And I am using this gem because it resolves the IE bug I was experiencing. Pierre Olivier Martel...