Yep.  Absolutely.

Hey Matt, I would like to put the Hobo index DSL you developed into a
tutorial for "Rapid rails with Hobo."  I have the next few days off.

What state is your branch in now?

Thanks,

Owen

On Oct 14, 2:19 pm, Matt Jones <[email protected]> wrote:
> Was setting up a new app today, and had an idea: what if the fields  
> block could 'group' fields somehow. Here's a sketch:
>
>    fields do
>      group :contact_info do
>        email_address :email_address, :login => true
>        first_name :string
>        middle_name :string
>        last_name :string
>        suffix :string
>        nickname :string
>        organization :string
>        address_line_1 :string
>        address_line_2 :string
>        city :string
>        state :state_abbr
>        zipcode :us_zip_code
>        country :string
>      end
>      group :some_fields_the_user_shouldnt_change do
>        magic_field :string
>      end
>    end
>
> Then one could reference those group names somehow in, for instance,  
> only_changed? or none_changed? to simplify permissions checking. Rapid  
> might want to wrap a group in a named fieldset tag, to make a long  
> form look nicer, and so on.
>
> Does this make sense to anybody else?
>
> --Matt Jones
--~--~---------~--~----~------------~-------~--~----~
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