alexrabarts/big_sitemap — Issue #27: undefined local variable or method `get_last_id' for BigSitemap:Class
Author: pagetribe
Created: 2011-12-20 10:32:41+00:00
State: open

In the following code:
```ruby
BigSitemap.generate(:url_options => {:host => DEFAULT_HOST}, :document_root => "#{Rails.root}/public", :partial_update => true, :gzip => false) do
Job.find_in_batches(:conditions => "id > #{get_last_id}").each do |job|
add jobs_path(job), :id => job.id
end
end
```