Ruby on Rails, seed, gem Faker — generation of fake datasIn the previous article, we considered how using STI and belongs_to — to create models and a data structure for storing addresses. In this…Sep 2, 2022Sep 2, 2022
Ruby on Rails, STI and Active Record Associations (belongs_to)I had the task to save the client’s address. State, city, street. Of course, you can use ordinary way — add states, cities, streets tables…Aug 30, 2022Aug 30, 2022
Ruby on Rails, seed, gem Faker — генерація фейкових данихВ попередній статті ми розглянули як за допомогою STI та belongs_to — створити моделі і структуру даних для зберігання адреси. В цій ми…Aug 28, 2022Aug 28, 2022
Ruby on Rails, STI and Active Record Associations (belongs_to)З’явилась у мене задача — зберегти адрес клієнта. Штат, місто, вулиця. Звичайно можна піти простим шляхом — додати таблиці states, cities…Aug 27, 2022Aug 27, 2022