Sounds fine to me. I would expect to see summary information on
trips/show. And a hidden field is an excellent way to send context
data from a shared form to the database.

Quoting Hillary Hueter <[email protected]>:
> I'm creating a trip management app. When the user clicks on the show link i 
> want them to see all participants for that trip. I've currently put all of 
> this information in the trips/show.html.erb because this seemed the way 
> that i could use the trip id as a parameter for getting the pilgrims 
> assigned to that trip. 
> 
> Also is there a way when they add the participant to  assign the 
> participant to that trip by default. I was thinking of using a hidden 
> field, but there's probably a better way to do it.
> 
> -- 
> SD Ruby mailing list
> [email protected]
> http://groups.google.com/group/sdruby

-- 
Cynthia N. Kiser
[email protected]

-- 
SD Ruby mailing list
[email protected]
http://groups.google.com/group/sdruby

Reply via email to