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

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -