Here's what I got:

```
1.9.3p392 :063 > u = User.create!(:login => "testing", :mail => "testing@testing.com", :password => "testing", :auth_source_id => 1)
1.9.3p392 :064 > u.roles
+----+-----------+---------+----------------------------------------+
| id | name      | builtin | permissions                            |
+----+-----------+---------+----------------------------------------+
| 8  | Anonymous | 2       | view_bookmarks, view_hosts, view_tasks |
+----+-----------+---------+----------------------------------------+
1.9.3p392 :065 > u.cached_roles
+----+-----------+---------+----------------------------------------+
| id | name      | builtin | permissions                            |
+----+-----------+---------+----------------------------------------+
| 8  | Anonymous | 2       | view_bookmarks, view_hosts, view_tasks |
+----+-----------+---------+----------------------------------------+
1.9.3p392 :066 > u.roles << Role.first
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | name      | builtin | permissions                                                                                                                                                                                            |
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 8  | Anonymous | 2       | view_bookmarks, view_hosts, view_tasks                                                                                                                                                                 |
| 1  | Manager   | 0       | access_dashboard, access_settings, view_statistics, view_tasks, assign_locations, create_locations, destroy_locations, edit_locations, view_locations, assign_organizations, create_organizations, ... |
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
1.9.3p392 :067 > u.reload
1.9.3p392 :068 > u.cached_roles
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | name      | builtin | permissions                                                                                                                                                                                            |
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 8  | Anonymous | 2       | view_bookmarks, view_hosts, view_tasks                                                                                                                                                                 |
| 1  | Manager   | 0       | access_dashboard, access_settings, view_statistics, view_tasks, assign_locations, create_locations, destroy_locations, edit_locations, view_locations, assign_organizations, create_organizations, ... |
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
2 rows in set
1.9.3p392 :069 > CacheManager.delete_old_permission_cache
1.9.3p392 :071 > u.reload
1.9.3p392 :072 > u.cached_roles
[]
1.9.3p392 :069 >   CacheManager.create_new_permission_cache
1.9.3p392 :073 > u.reload
1.9.3p392 :074 > u.cached_roles
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| id | name      | builtin | permissions                                                                                                                                                                                            |
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| 8  | Anonymous | 2       | view_bookmarks, view_hosts, view_tasks                                                                                                                                                                 |
| 1  | Manager   | 0       | access_dashboard, access_settings, view_statistics, view_tasks, assign_locations, create_locations, destroy_locations, edit_locations, view_locations, assign_organizations, create_organizations, ... |
+----+-----------+---------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
```

You got it right, with the exception of the last line -- the contents of the role cache is identical to actual user roles.