I want to override authenticate_user! and current_user method of devise gem in my application Controller can you please help me with regards to that
You may be able to monkey-patch it like:
module Devise module Controllers module Helpers def authenticate_user! #do some stuff end end end end
But I would ask what the ultimate goal is, because Devise has some customizability built into it already, and overriding these methods makes me wonder "why use Devise at all?"