sparc-request/sparc-request — pull request #8 by robertjamesmiller (2014-09-17 19:36:00+00:00)
Title: reduced :visit_count to prevent SQLite3::SQLException: too many terms in...

... compound SELECT

1) ServiceRequestsController GET service_calendar should set the page if page is passed in
Failure/Error: get :service_calendar, { :id => service_request.id, :pages => { arm1.id.to_s => 42 } }.with_indifferent_access
ActiveRecord::StatementInvalid:
SQLite3::SQLException: too many terms in compound SELECT: INSERT INTO visits (`line_items_visit_id`, `visit_group_id`, `created_at`, `updated_at`) VALUES (1, 16, '2014-09-17 19:25:30', '2014-09-17 19:25:30'),