Thanks James, I knew Hobo had something unbelievably simple.

Next question: with this syntax do I now write the views and store
them in the same place as usual (meaning views/computers)?

Is there any way to modify the view that was generated when I ran
hobo_migration (which I'm guessing has got something to do with this
views/taglibs/auto/rapid business)? In "regular" Rails I'm used to
generating scaffolds and then using the views that are created to get
me started. Know what I mean?

On Nov 27, 1:03 pm, James Garlick <[EMAIL PROTECTED]> wrote:
> > <% form_for(:computer, :url => computer_networkadaptors_path
> > (@computer)) do |f| %>
> >   <p>
> >            <%= f.text_field :networkadaptortype %>
> >   </p>
> >   <p>
> >                <%=f.text_field :macaddress %>
> >   </p>
> >   <p>
> >            <%= f.submit "Add a network adaptor" %>
> >   </p>
> > <% end %>
>
> <form>
>    <input:networkadaptortype/>
>    <input:macaddress/>
>    <submit label="Add a network adaptor/>
> </form>
>
> >  <p>
> >    <%= f.label :category %><br />
> >    <%= collection_select(:computer, :category_id, Category.find
> > (:all, :order => "name"), :id, :name) %>
> >  </p>
>
> <input:category/>
--~--~---------~--~----~------------~-------~--~----~
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