QutEcoacoustics / baw-server

The acoustic workbench server for storing and managing ecoacoustic data. Manages the structure and audio data. Provides an API for clients access.
Apache License 2.0
9 stars 4 forks source link

website_status page broken #523

Closed atruskie closed 3 years ago

atruskie commented 3 years ago

Due to raw SQL queries

An ActiveRecord::UnknownAttributeReference occurred in public#website_status:

  Query method called with non-attribute argument(s): "COALESCE(audio_recordings.updated_at, audio_recordings.created_at) DESC"
  app/controllers/public_controller.rb:377:in `recent_audio_recordings'

  app/controllers/public_controller.rb:377:in `recent_audio_recordings'
  app/controllers/public_controller.rb:160:in `website_status'
  app/controllers/application_controller.rb:641:in `set_then_reset_user_stamper'