It will typically be a single class however the main secretary may go in to check attendance and she will see the entire school. This won't hurt me as we only have 125 kids, but a larger school could have an issue... Would Pagination still work in this scenario?
John On Wednesday, August 1, 2018 at 5:55:41 AM UTC-4, Ralph Shnelvar wrote: > > John, > > This is an add-on to David Merrick's answer. > > Since this is for a school class, it's unlikely to have more than, say, 50 > students. > > Your database query could bring in up to 50 students and then you could > build a view with something like the following pseudo-code > <% students.each do |student| %> > /* build a line or lines identifying the student and radio buttons > indicating attendance */ > <% end %> > /* submit button */ > > Of course, if you have more than 50 (or whatever) students, the logic > becomes a bit more complicated - but not by much. > > I think this would be preferred over a one-student-per-screen approach. > > Ralph > > > > Tuesday, July 31, 2018, 3:34:23 PM, you wrote: > > > What I am trying to do is in my application is add Student Attendance for > the day. > > What I would like to have is a form that a teacher goes to every morning > on their computer or iPad with the list of his/her students and he/she just > has a list of option buttons beside each student with the student's > attendance for that day. They just tap the option that is correct by each > student... > > The options will typically be Present, Absent, Half-Day District, Half-Day > CTC, Full-Day District... > > Has anyone done something like this I can look at the code or do you have > suggestions on how I can do this... > > I've been googling and watching videos and nothing does what I am looking > for... > > John Sanderbeck > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-ta...@googlegroups.com <javascript:>. > To post to this group, send email to rubyonra...@googlegroups.com > <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/rubyonrails-talk/ef7e07f6-dd10-4123-9b75-e0e522a3c26b%40googlegroups.com > > <https://groups.google.com/d/msgid/rubyonrails-talk/ef7e07f6-dd10-4123-9b75-e0e522a3c26b%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > > > > Ralph > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/3164af28-e392-42ac-8863-16f731bdf1ac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.