Restrict a Her::Model to only supporting certain operations.
In the case where you want to use all the features of the Her ORM, but you only have read-only access to a given object.
# Whitelist options
supports :read, :create, :update, :delete
# Blacklist actions
restricts :update, :delete
I like the idea of whitelisting with an :all over blacklisting, thoughts?
I was thinking the same thing. Why was this closed?
👍 to have this feature