Skip to content

Fix as_object() for has_many_pivot relationship#2

Open
sapinb wants to merge 1 commit intosapinb-patch-1from
sapinb-patch-2
Open

Fix as_object() for has_many_pivot relationship#2
sapinb wants to merge 1 commit intosapinb-patch-1from
sapinb-patch-2

Conversation

@sapinb
Copy link
Owner

@sapinb sapinb commented Jun 14, 2016

Non-sequential keys in the sub_results array turned what should have been array of objects [{},{}, ... ] into objects with numbers as property names
{ "2":{}, "3":{}, ... } when using as_object() for has_many_pivot relationships

Non-sequential keys in the sub_results array turned what should have been array of objects [{},{}, ... ] into objects with numbers as property names 
{ "2":{}, "3":{}, ... } when using as_object() for has_many_pivot relationships
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant