-
Notifications
You must be signed in to change notification settings - Fork 73
ActiveRecord::StatementInvalid in Refinery/calendar/admin/events#index #29
Copy link
Copy link
Open
Description
Hi,
I got this error when creating my first event:
ActionView::Template::Error (PG::Error: ERROR: non-integer constant in ORDER BY
LINE 1: ...ents".* FROM "refinery_calendar_events" ORDER BY 'from' DES...
^
: SELECT "refinery_calendar_events".* FROM "refinery_calendar_events" ORDER BY 'from' DESC LIMIT 20 OFFSET 0):
1:
2: <%= render :partial => 'event', :collection => @events %>
3:
4: <%= render '/refinery/admin/sortable_list',
5: :continue_reordering => (local_assigns.keys.include?(:continue_reordering)) ? continue_reordering : true %>
activerecord (3.2.8) lib/active_record/connection_adapters/postgresql_adapter.rb:1158:in
async_exec' activerecord (3.2.8) lib/active_record/connection_adapters/postgresql_adapter.rb:1158:inexec_no_cache'activerecord (3.2.8) lib/active_record/connection_adapters/postgresql_adapter.rb:664:in
block in exec_query' activerecord (3.2.8) lib/active_record/connection_adapters/abstract_adapter.rb:280:inblock in log'activesupport (3.2.8) lib/active_support/notifications/instrumenter.rb:20:in
instrument' activerecord (3.2.8) lib/active_record/connection_adapters/abstract_adapter.rb:275:inlog'Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels