Skip to content

'get' method removed, 'all' is now used to fetch data

Compare
Choose a tag to compare
@adback03 adback03 released this 29 Mar 01:52
· 28 commits to master since this release

Previously, you would use the 'get' method to fetch a specific page of data (does not automatically page through data). Now, the 'all' method will page through data for you, but also only fetch a specific page if the page parameter is specified. Example:

MTG::Card.where(page: 1).all

That will only return the first page of data.