On Mon, Jan 12, 2009 at 2:17 AM, Tom Locke <[email protected]> wrote:
>> What about putting the permissions into the field declaration itself?
>>
>> fields do
>>   address :string, :except => :update
>>   city :string,    :except => :update
>>   zipcode :string, :except => :update
>> end
>
> Except I think it should be a shorthand for protected / accessible /
> readonly.
>
> e.g.
>
>   address :string, :readonly
>
> You could give :readonly, :protected or :accessible.
>
> It would be an error to use both :accessible and :protected on the
> same model (just as it is to use both attr_protected and
> attr_accessible on the same model)
>
> Like?

Love.  Should I open a ticket?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to