Hi,
I am having a problem that config.remove_role_if_empty = false which is defined in initializer file does not work within rails console. I removed the last user having the role :admin and the role is also removed from the roles table.
I haven't check if remove from the web-based (rails server) yet.
Rails: 5.2.1
Rolify: 5.2.0