wuboy
wuboy
Got the same error, I believe it related to this issue. https://github.com/activerecord-hackery/ransack/issues/374 Alias doesn't properly apply.
However, a canceled_at column should record timestamp when this order canceled, no matter how we do it. It doesn't matter cancel by admin, cancel by user, or cancel by cron...
The problem is that pace.js overrides window.WebSocket. https://github.com/HubSpot/pace/blob/4afddfb37aec45cc8588a91416fe28ca173314a8/pace.coffee#L365 Which ActionCable will use it directly. https://github.com/rails/rails/blob/739f88e52ec9d673e23f41545d55626351ce24eb/actioncable/app/assets/javascripts/action_cable.js#L7