Hello All,
I am writing an app that uses solid cable, everything worked fine on development, I deployed it to heroku using this guide Getting Started on Heroku with Rails 8.x | Heroku Dev Center
In the app I deployed, when ever I call, say broadcast_append_to I get this error:
ArgumentError: No unique index found for id (ArgumentError)
raise ArgumentError, "No unique index found for #{name_or_columns}"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
from /app/vendor/bundle/ruby/3.3.0/gems/activerecord-8.0.2/lib/active_record/insert_all.rb:165:in `find_unique_index_for'
[3] pry(main)>
I am unable to fix it. If someone could throw some light, it will be great. Should I include more Databases, or something for cable?