Re: [Rails] fields_for doesnt working

2014-04-18 Thread Colin Law
On 18 April 2014 00:34, Juan Andres Rodriguez wrote: > I'am working on a project about a booking system for a hotel, i have the > Client model and the Reservation model, the client has_many reservations and > the reservation belongs_to :client. > > The problem si that when i want to create a new r

[Rails] fields_for doesnt working

2014-04-17 Thread Juan Andres Rodriguez
I'am working on a project about a booking system for a hotel, i have the Client model and the Reservation model, the client has_many reservations and the reservation belongs_to :client. The problem si that when i want to create a new reservation, i want to be able to create a client in the sam