I am writing an app for a foodbank. The edit screen uses a database
called visit with fields of household_id, month, year, monthly, and
weekly. Household_id is a link to another database with family
records, month and year are for the date of this record, monthly is
for a monthly visit, and weekly is for a weekly fruit and bread visit.
In the edit screen the Household database has a has_one relationship
with Visit, so it only finds 1 record and asks about attendance this
month. The problem comes when I try to make a report using has_many.
The report shows attendance for the calendar year.

I'm sure there is a way to do this with Rails, but I have no idea, so
please help..


Bob

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to