[Rails] Re: Trying to make a user list from 2 fields
Sandy wrote:
> On Aug 25, 4:00�am, Colin Law <clan...@googlemail.com> wrote:
>> >> Combining the lists and putting them in alphabetical order will show a
>>
>> Colin
>
> Ok, Bob,
>
> The problem now seems to be that there is a Household model which
> contains two fields, name and sname, each of which is the full name
Yes, that would change the landscape a bit. Sounds like Sandy's
solution has the right of it by using @households to build @sorted,
thereby replicating the household record for each resident.
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home