close
Skip to content

Return array from fast_page.to_a#6

Merged
mscoutermarsh merged 1 commit intoplanetscale:mainfrom
djmb:fast-page-to-a-return-array
Dec 19, 2022
Merged

Return array from fast_page.to_a#6
mscoutermarsh merged 1 commit intoplanetscale:mainfrom
djmb:fast-page-to-a-return-array

Conversation

@djmb
Copy link
Copy Markdown
Contributor

@djmb djmb commented Sep 30, 2022

The load method returns the ActiveRecord relation rather than the Array of records that has been loaded.

As to_a dups and returns records it would also return the ActiveRecord relation rather than an Array.

The load method returns the ActiveRecord relation rather than the Array
of records that has been loaded.

As to_a dups and returns records it would also return the ActiveRecord
relation rather than an Array.
@djmb djmb force-pushed the fast-page-to-a-return-array branch from 03a5033 to 7aafaf4 Compare October 4, 2022 20:35
Copy link
Copy Markdown
Member

@mscoutermarsh mscoutermarsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@mscoutermarsh mscoutermarsh merged commit fb4e0d9 into planetscale:main Dec 19, 2022
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