M
M
maxtrelle2017-11-13 16:09:42
Ruby on Rails
maxtrelle, 2017-11-13 16:09:42

How to work with dates and calendar in Ruby on Rails without creating flights every day?

I started learning Ruby on Rails, I want to create an online ticket sales site.
For example:
https://www.takebus.ru/
https://busfor.ru/
How to work with dates and calendar in Ruby on Rails (so as not to create a new flight and routes every day if it repeats every day).
I would be grateful for your feedback and help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Ponomarev, 2017-11-18
@ilyario

Read the doc and watch the videos:
api.rubyonrails.org/classes/ActionView/Helpers/Dat...
https://www.youtube.com/watch?v=xs7zA-z2NzE
https://www.youtube.com/watch ?v=NiTLuPqvt58

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question