How to structure a booking system in ruby on rails -
my goal create reservation system in ruby(v=1.9.3p231) on rails (v=3.2.13). should reservation system hotel. should able let create rooms , perform reservations rooms. of course need valdidations if room reserved.
after many hours of trying out stuff, think structur failing. please give me hints, how set reservation-system?
tried 2 different ways:
1. created search-form. showed me available room, don't know how specific requests. how use time period (arrival - depature).
2. tried directly reservation (that means booking , validation in one). problem here have no idea how create correct databases , relations.
anybody draft layout of project? or tell me how many controllers needed.
thanks in advance.
Comments
Post a Comment