`hash': wrong number of arguments (given 1, expected 0) (ArgumentError)
ramontayag opened this issue · comments
You get the error when you have code like
store_attributes :body do
hash String
end
You can work around it by store_attribute :body, :hash, String
.
- Do we support defining of attributes like
hash
in a block, and if so, how? - If we don't, what kind of error can we raise instead? (Please use
store_attribute
syntax instead?)