Skip to content

Instantly share code, notes, and snippets.

@jonasschmidt
Created April 22, 2013 12:48
Show Gist options
  • Save jonasschmidt/5434643 to your computer and use it in GitHub Desktop.
Save jonasschmidt/5434643 to your computer and use it in GitHub Desktop.
Failures:
1) offer searching by country code
Failure/Error: run_delta_index
ActiveRecord::StatementInvalid:
Mysql2::Error: Unknown column 'weekly_rate_in_currency_cents' in 'field list': SELECT id, "Offer" AS type, title, description, lat, lng, city, zip, country, street, is_public, findable, price_score, availability_score, conversion_score, farmer_score, roi_conversion_rate_last_90days, displays_last_90days, deleted_at, nightly_rate_in_currency_cents, weekly_rate_in_currency_cents, monthly_rate_in_currency_cents, service_charge_in_currency_cents, photos_count, min_nights, max_nights, max_guest_count, status, visibility, user_id, extra_guest_charge_in_currency_cents, country_code_iso, created_at, updated_at, first_published_at, currency, code, object_type, included_guest_count, main_photo_id, suburb, bedroom_count, min_delay, external_source FROM offers WHERE id IN (1, 2, 3, 4, 5, 6, 7, 8)
# ./app/modules/offer_index.rb:420:in `query_db'
# ./app/modules/offer_index.rb:186:in `index_offers!'
# ./app/resque_jobs/offer_index_job.rb:11:in `block in perform'
# ./app/resque_jobs/offer_index_job.rb:10:in `perform'
# ./spec/acceptance/support/resque_helpers.rb:7:in `block in perform_resque_jobs'
# ./spec/acceptance/support/resque_helpers.rb:2:in `each'
# ./spec/acceptance/support/resque_helpers.rb:2:in `perform_resque_jobs'
# ./spec/support/solr_helpers.rb:12:in `run_delta_index'
# ./spec/acceptance/api/v2/offer_feature_spec.rb:35:in `block (2 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment