TheRealNeil

Joined

3,850 Experience
38 Lessons Completed
0 Questions Solved

Activity

Hey all, we are using named variants with fixtures to both test and load example data in development. We started getting Foreign key violations found in your fixture data. errors and found we needed to create an empty test/fixtures/active_storage/variant_records.yml file to make sure the active_storage_variant_records table is cleared out properly when reloading the fixture data with rails db:fixtures:load.
Just sharing in case someone else comes across a similar issue.

Posted in Custom Turbo Stream Actions Discussion

Hi Ben, did you find an answer to this question? I have the same situation.
I am going to follow this: https://github.com/hotwired/turbo-rails/issues/441

Hi, I am interested in doing this also. Di you have any success? I tried deliver_by :action_cable, stream: Turbo::StreamsChannel.signed_stream_name([Current.account.id, Current.user.id]) in the notification and <%= turbo_stream_from [Current.account.id, Current.user.id], channel: Noticed::NotificationChannel %> in the view without success.

I tried to combine this with the direct S3 uploads and keep the URL's private. It's working well for me so far so here are the changes i made in a gist https://gist.github.com/The...
I am a relative novice in Javascript so if anyone has corrections or improvements I would love to know :)

Hi Chris, I am trying to get the Direct uploads to S3 to work with trix. Can you offer some pointers/resources that may help me?