Skip to content

kchivorn/train-booking

Repository files navigation

Train booking app

App to tracking and display train timetable and users who bought the ticket

Sample app: https://morning-depths-20937.herokuapp.com/ Login with an email. Time table needs to be updated for it to display in the current time.

Rake Tasks

1- Generate train timetables and save into table departures

rake seed_timetable:run

2- Fetch users who bought more than three tickets

rake top_users:run

3- Fetch users who have ever bought a ticket from an IP address other than the one they used to sign up

rake different_ip:run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published