Justin Williams
2007-Oct-15 15:42 UTC
Enumerating two different arrays into a single HTML table by common field
Greetings, I have a table I''m trying to render using two different data sets. 1 is an array of Day objects. The other is an array of Payment objects. I''d like them to show up in the same HTML table and be sorted by the created_at field that both database tables have. Anyone have any suggestions for accomplishing this? Thanks! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---