Devise and DB config