ccocchi/rabl-rails

Response contains ":" in rails 5

Closed this issue · 1 comments

hi guys,

i was just wondering if anyone else has stumbled upon this issue?

node(:data) do |user|
    {id: user.id, name: user.name}
end

returns

{":data":{":id":1,":name":"John Doe"}

any idea why something like this would occur? i am sure i am missing something stupid..
thanks!

this was an issue with one of my gems in the tests.. closing this. thanks.