Hi, I am new to Hobo and so far it is ausom. I'm struggling with a few things, hopefully they are easy if someone can give me a pointer or two.
I am writing an application for our on call staff. There is a shift model that contains information for who is on a shift for a given day, one shift per day. I have the index action of the shifts model showing a table using table+. This is working very well. I now want to change it so that when someone initially visits the index it shows shifts from the current date onwards. I can do this by using a find on the shifts model and assign to the @shifts collection. This works but only shows the shifts from that point on. What I am trying to do is have the index show the shifts for the current day forward when initially visited but allow paging back to previous shifts. Any ideas? The other thing I'm struggling with is when a shift is created I want to return to the index page not display the shift. Even better would be to be able to inline create shifts where there is no shift already existing, shifts are just a date, and two user dropdowns, primary and secondary. Any advice would be appreciated. TIA Bart -- 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.
