
What's the best way to debug Amazon S3 errors
0
Servers
Hi everyone,
So far in my rails journey, the most frustrating thing by far has been using Amazon S3 for storage. I have had various issues, all without error messages, which is like looking for a ...
Tom Dringer posted

Shrine::Error: storage :cache isn't registered on FileUploader
1
Rails
Im using Mongoid 6.0.3, ruby 2.3.1 and rails 5.2
I created a file_uploader class for handling my uploads using shrine.
> > /app/uploaders/file_uploader.rb
```
class FileUploader < Shrine...
Ashutosh Mittal replied
Solved

Opt-in to receiving thread notifications
8
Site Feedback
Hey Chris,
It would be great if users had the ability to opt-in to receiving new thread post notifications. Sometimes I like to just throw my two cents in, but don't really intend on following th...
Jacob Montgomery replied
Solved

Asset Pipeline
1
General
What are some excellent resources to get a good foundational understanding of asset pipeline, esbuild, import maps, js bundling. I have a decent knowledge of Rails, but I have trouble understanding...

Anchors being ignored when added to redirect_to path in controller
2
Rails
I feel I am missing something fundamental, or maybe just silly, when it comes to this issue.
I am utilizing linking to anchors in most places in an app I am building and all is working well with l...
Miri Lama replied
Solved

Is it possible to remove formatting tools from the ActionText Trix editor?
2
Rails
I looked at both the ActionText and Trix documentation and could not find anything on how to disable/remove formatting tools and disable file uploads for ActionText.
For the project I am working o...
Adam Stockland replied

Protecting from XSS with Sanitize Discussion
7
General
Thanks Chris! I'm building an app and just realized I'm not sanitizing user generated urls. Thanks for the helpful tips.
octanepower replied

Realtime Nested Comments: Part 3 Discussion
32
General
Very cool. I imagine a real-time comment feed like this will make a website feel come alive.
One issue I’d love to see addressed in a follow up video is the page kinda moving around as you’re rea...
OuttaSpaceTime replied

Active Storage - Bulk importing files stored locally
3
Rails
Hi Chris,
I am adding active storage file uploading as a new feature to an existing Rails application. I have at least a couple of thousand PDF files with a standard naming format that looks like t...
Willard replied

How would one go about sorting ActiveStorage has_many_attached objects?
6
Rails
Hey there,Just wondering if anyone can shed some light here as the Google search is pretty thin right now for ActiveStorage.Is there a way to a a property (say sort_order) to each of the has_many_a...
Tomas Valent replied
Solved

CloudFlare Turnstile Captchas in Rails Discussion
2
General
You should really create a gem for this. Or maybe I should? :)
Gintaras Sakalauskas replied

Not all ActionCable broadcasts broadcasting
2
Rails
I have an app that successfully has ActionCable implemented and working in production on Heroku.
We recently added an additional broadcast, but this wont broadcast no matter what I try.
Each user...
RJ McCollam replied

How do I send Prawn pdf via email
3
Rails
Hello Everyone
how do i attaced a prawn pdf to email . I have implemented the prawn gem
so when you generate a new form and add the .pdf ot gives me the PDF , which works. but now when the form i...
Chris Oliver replied
Solved

Handle multiple binding when using CoffeeScript & Turbolinks
11
Javascript
Hi,
After watching the screencast about extracting JS code to CS classes, I tried to follow the same pattern.
The problem I am facing is that the page loads new items through AJAX and in order for ...
Chris Oliver replied

Google Maps and Google Places Autocomplete API with Rails, Turbolinks, and Stimulus.js Discussion
12
General
Thanks Chris, great video.
I have tried to work with Google Maps Places API in the past, but I have faced an issue with their API Policies. According to their policy you cannot save details like t...
alangosh replied

Could you do a screencast on how to build notifications with Rails?
9
General
I've been trying to add a notification system (bell icon on the header) to the app I'm building. The implementation I came up with is very awkward and I'm sure there's a better way to do it (maybe ...
Chris Oliver replied

DB Structure for custom forms
6
Databases
Hi all,I am building an app that has the ability to create/edit forms with custom fields as a feature. Form templates can be assigned to personal record to be completed by users (google forms? :) )...
Jacob Montgomery replied

Apartment and Sidekiq
4
Rails
So Im working with apartment and sidekiq and the job is not switch tenant.
```
gem 'apartment', '~> 1.0', '>= 1.0.2'
gem 'sidekiq', '~> 4.0', '>= 4.1'
gem 'apartment-sidekiq', '~> 0...
Francisco Quinones replied
Solved

Rails 4.2 Introduction Discussion
8
General
Very nice episode, thank you for sharing, I'm looking forward to try the web-cosole!
Chris Oliver replied

Polymorphic association via concern giving undefined method relation_delegate_class
0
Rails
Not sure if the forum is a good place to ask technical questions like this, but I have a heartable concern that I will be applying to several models:
module Heartable
extend ActiveSupp...
Tom Iwaniec posted