Marco Colli

Results 92 issues of Marco Colli

Hello, do you have any documentation about using this gem with Rails? In particular: - How to generate a blurhash from ActiveStorage? - How to display the blurhash image in...

The update from v2.3 to v2.4 of this gem breaks our gem. This is the error: ``` :281:in `unpack1': invalid base64 (ArgumentError) from /Users/collimarco/.rbenv/versions/3.0.4/lib/ruby/3.0.0/base64.rb:74:in `strict_decode64' from /Users/collimarco/.rbenv/versions/3.0.4/lib/ruby/3.0.0/base64.rb:106:in `urlsafe_decode64' from /Users/collimarco/.rbenv/versions/3.0.4/lib/ruby/gems/3.0.0/gems/jwt-2.4.0/lib/jwt/decode.rb:120:in...

You must call Sidekiq::Cron::Job.create in a file different from the cron job.

I have a simple setup of this gem in a demo application: ``` # Gemfile gem 'sidekiq' gem 'sidekiq-cron' ``` ``` # config/initializers/sidekiq.rb Sidekiq::Cron::Job.load_from_hash YAML.load_file('config/schedule.yml') if Sidekiq.server? ``` ``` #...

Set this in `application_controller.rb`: ``` def after_sign_out_path_for scope root_path end ``` You expect the logout to redirect the user to root. However Devise returns a redirect with status **302**, which...

I have completed [the official tutorial to add Omniauth](https://github.com/heartcombo/devise/wiki/OmniAuth:-Overview). Now when some users choose to use "Sign in with Google" I want to disable the normal login with email and...

I have a Rails application that allows users to enter their phone number. Users are from different countries and I don't know the country for each user. Is it possible...

enhancement

`.erb` is not HTML! It can be anything. In my case I have a `deployment.yml.erb` and `Dockerfile.erb` and thy are both reported as HTML... wrong. You should report it as...

Misidentified Language

We have discovered that this gem doesn't handle properly the ActiveRecord `none` method. ``` subscriptions = Subscription.none subscriptions.each_row { |row| p row } ``` The above code raises: ``` ActiveRecord::StatementInvalid:...

We are using this gem with sync pushes: https://github.com/ostinelli/apnotic#sync-pushes This is the relevant code: ``` def deliver_to_apns connection = Apnotic::Connection.new(cert_path: StringIO.new(apns_cert)) notification = Apnotic::Notification.new(device_token) notification.alert = { title: title, body:...