Skip to content

Added paginator which does automatic pagination and implemented it in th...#6

Merged
rosscdh merged 18 commits intomasterfrom
paginator
Jun 3, 2013
Merged

Added paginator which does automatic pagination and implemented it in th...#6
rosscdh merged 18 commits intomasterfrom
paginator

Conversation

@rosscdh
Copy link
Contributor

@rosscdh rosscdh commented May 28, 2013

Added paginator which does automatic pagination and implemented it in th...e reports controller

Copy link
Member

Choose a reason for hiding this comment

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

don't think self.new is correct here. this depends on the kind of object requested.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

what does this line do?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

exacly.. sorry jsut refreshed.

martinotten and others added 7 commits May 28, 2013 17:45
…s passing in a block to allow for per row iteration over the result set
…ing_id… also added accessor that will return campaign_id if present but if not then will use booking_id so that we are forwards and backwards compatible
Conflicts:
	lib/adcloud/report.rb
Copy link
Contributor

Choose a reason for hiding this comment

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

Should virtus than not be enforced somehow? Maybe throw an exception if its not included?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

not sure how this is enforced in ruby-land

@martinotten
Copy link
Member

:shipit:

rosscdh added a commit that referenced this pull request Jun 3, 2013
Added paginator which does automatic pagination and implemented it in th...
@rosscdh rosscdh merged commit ed4f5bd into master Jun 3, 2013
@rosscdh rosscdh deleted the paginator branch June 3, 2013 14:32
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.

3 participants