Skip to content

Instantly share code, notes, and snippets.

View niezbop's full-sized avatar

Paul Niezborala niezbop

  • WeWantToKnow
  • Paris
View GitHub Profile
@niezbop
niezbop / gist:0fb0e26b521e67a588a1d697051f470b
Created April 19, 2021 15:55 — forked from jancel/gist:1367606
Custom devise strategy
# In config/initializers/local_override.rb:
require 'devise/strategies/authenticatable'
module Devise
module Strategies
class LocalOverride < Authenticatable
def valid?
true
end