>On 10/2/07, Stephen Bannasch 
><<mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]> 
>wrote:
>
>
>The view code and partial were generated by the make_resourceful 
>resourceful_scaffold generator. I'll investigate more there.
>
>
>That should be f.send(attribute.field_type, attribute.name.to_sym )

The ruby syntax is better but model_instance#attributes just returns 
a hash of strings and values so there is no .field_type or .name 
methods on the attribute.

I'm moving this thread over to [EMAIL PROTECTED] 
since this is no longer haml related.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to