One way to do this would be to create a Postal_Address model that you use for this. Then you could create forms and layouts for it, and include it in your other models with belongs_to.
On Mar 17, 2011, at 12:24 AM, Arthur Baldwin wrote: > I'm getting desperate to learn more about hobo. > > Here's where I work: > > The Computer Outlet, Inc. > 2755 Melbourne Avenue > Pomona, CA 91767 > (909) 398 - 1888 > > I've read enough about hobo to realize that I would like to modularize a > section that will group together the following fields: > > Address > City > RegionID (aka State) > PostalCode > CountryID > > By modularize I mean something that I can quickly add to any model whether it > be Employee, Contact, Customer, Vendor or whatever. > And I would like this module to include a layout design so that the fields > will always be in a typical postal address layout: > > Address > City, Region PostalCode > Country > > Region and Country should be dropdowns. Eventually I would like to have this > module include the ability to verify addresses with the USPS. > > I have called most of the colleges and universities in my area, but nobody > offers any classes in hobo or in Ruby on Rails. Yes, I know about RailsCasts > with Ryan Bates, but I need more info that is specific to hobo. > > Can anyone please offer their assistance? > > Arthur Baldwin, MIS Director > The Computer Outlet, Inc. > > > > -- > 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. -- 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.
