Skip to content

Fixes 16928, improve reflections public API doc#17718

Merged
zzak merged 2 commits into
rails:masterfrom
arthurnn:fixes_16928
Nov 23, 2014
Merged

Fixes 16928, improve reflections public API doc#17718
zzak merged 2 commits into
rails:masterfrom
arthurnn:fixes_16928

Conversation

@arthurnn
Copy link
Copy Markdown
Member

two things in here,

  • Add changelog entry for reflections API change
  • Fix public doc for reflections method.

review @rafaelfranca @matthewd

`.reflections` public API changed to return a String instead of a Symbol
as keys.

see commit 1f31488 and 6259e4e

[fixes rails#16928]
[fixes rails#17610]
@arthurnn
Copy link
Copy Markdown
Member Author

[fixes #16928]

@zzak
Copy link
Copy Markdown
Member

zzak commented Nov 23, 2014

LGTM :shipit:

zzak pushed a commit that referenced this pull request Nov 23, 2014
Fixes 16928, improve reflections public API doc [ci skip]
@zzak zzak merged commit e7bf741 into rails:master Nov 23, 2014
@arthurnn arthurnn deleted the fixes_16928 branch November 24, 2014 18:42
arthurnn added a commit to arthurnn/rails that referenced this pull request Nov 24, 2014
fragoulis added a commit to fragoulis/agile_serializer that referenced this pull request Sep 10, 2015
> ActiveRecord::Base#reflections now returns a hash with string keys instead of symbol keys.

[PR] rails/rails#17718
fragoulis added a commit to fragoulis/agile_serializer that referenced this pull request Sep 11, 2015
Update the code that uses the internal rails api to be compatible with rails 4.2.

> ActiveRecord::Base#reflections now returns a hash with string keys instead of symbol keys.

[PR] rails/rails#17718
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.

2 participants