mirror of
https://github.com/Fishwaldo/role_model.git
synced 2025-03-15 11:32:04 +00:00
Fix some typos in README
This commit is contained in:
parent
aec679174a
commit
84825d3cda
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
RoleModel is the framework agnostic, efficient and declarative way to do
|
||||
(user) roles. Assigned roles will be efficiently stored as a bitmask
|
||||
directly into your model within an configurable attribute.
|
||||
directly into your model within a configurable attribute.
|
||||
|
||||
It works like this:
|
||||
|
||||
|
@ -12,7 +12,7 @@ It works like this:
|
|||
|
||||
class User
|
||||
attr_accessor :roles_mask # just for demo purposes
|
||||
# in real life this would usuallt be a persistent attribute,
|
||||
# in real life this would usually be a persistent attribute,
|
||||
# e.g. if your User model is persisted in a SQL-DB add an integer
|
||||
# column named roles_mask to your users table -- just remove/replace
|
||||
# above attr_accessor line with whatever is needed for your
|
||||
|
|
Loading…
Add table
Reference in a new issue