Hey why does presence: true validation fails for a form input whose value is false? And/or how do I write a validation then for a field that is essentially a boolean
Hey I have a model Reservation which belongs to User and Product. When I do a link_to reservation, it generates URL in the form of /products/<reservation ID>/reservations ... Is this OK, and what might I be missing/doing wrong here?
I was expecting that the link would be either /reservations/:id or at worst /users/:userid/reservations/:reservationid