> hobo_model extends attr_accessor to carry a type attribute - it should
> do what you want.

That works, but those attributes have to be manually added to the form  
in the view layer. We've talked about the idea of a 'calculated field'  
that is basically a method, but gets field-like status in the sense  
that it would automatically show up, e.g. on a show-page

This request is similar I think - it's not a calculated field, but a  
'virtual field' that only lives for the length of a single request,  
but unlike a plain attr_accessor, is does automatically show up in a  
form.

Thinking about it this is really a view-layer issue only, so it should  
probably be declared in view-hints.

Tom

--~--~---------~--~----~------------~-------~--~----~
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