Ghar
Joined
Activity
yes it can
I have mine setup this way
Shrine.storages = {
cache: Shrine::Storage::S3.new(prefix: "#{ENV["CREDENTIALS_ENV"]}/cache", **s3_options),
store: Shrine::Storage::S3.new(prefix: "#{ENV["CREDENTIALS_ENV"]}/store", **s3_options),
public_store: Shrine::Storage::S3.new(public: true, upload_options: { cache_control: "max-age=15552000" }, prefix: "#{ENV["CREDENTIALS_ENV"]}/public", **s3_options)
}
Another vote for seeing this with Shrine :)
Change webpacker.yml config
dev_server:
https: true
Fixed it - You need have ImageMagick or GraphicsMagick installed locally.
For me on a mac I used
brew install imagemagick
After uncommenting image_processing gem I still have broken image :(
Will post fix when I find it.
Posted in User Onboarding Progress Bar Discussion
Great episode! One thing that would improve these for me would be to include testing. Thanks
Learned a ton on this one! Thanks
Up and running :) thanks
One step from gem doc that I dont think was covered
"Filtering sensitive parameters from the logs
To prevent two-factor authentication codes from leaking if your application logs get breached, you'll want to filter sensitive parameters from the Rails logs. Add the following to config/initializers/filter_parameter_logging.rb:"
Rails.application.config.filter_parameters += [:otp_attempt]
Nice one! Want to expand on this one, but a great start - thanks.
Really glad you have an episode on rolling your own. I try not to provide 3rd party access to my customer data.
same here - did you figure it out?