You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While I'm not sure if thats conforming or not to the spec; it means that consuming code fails with:
/app/vendor/bundle/ruby/2.0.0/bundler/gems/atdisplanningalertsfeed-ce20de6801cf/lib/atdisplanningalertsfeed.rb:22:in `save_page' : undefined method `current' for nil:NilClass (NoMethodError)
from /app/vendor/bundle/ruby/2.0.0/bundler/gems/atdisplanningalertsfeed-ce20de6801cf/lib/atdisplanningalertsfeed.rb:17:in `save'
from scraper.rb:6:in `<main>'
and you have to wrap all of your calls to
page.pagination.current
in
page.pagination.current if page.pagination
It would be better for this to never be nil, but a valid pagination object with defaults.
The text was updated successfully, but these errors were encountered:
produces
While I'm not sure if thats conforming or not to the spec; it means that consuming code fails with:
and you have to wrap all of your calls to
in
It would be better for this to never be nil, but a valid pagination object with defaults.
The text was updated successfully, but these errors were encountered: