Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In rails console, you might need to remove the cached role maps.

Code Block
Rails.cache.delete("RoleMapHash")
Admin::Group.all
g = Admin::Group.find('administrator')
g.users += ["archivist1@example.com"]
g.save!

...