I just have a question about how do you organize your files, where do you recommend to place*_delivery.rb & *_driver.rb files in a rails project folder structure?
I'm asking because I have an existing project, with tons of files, and I want to organize them better.
Drivers could be stored in different places: somewhere in lib/ folder (if it's a general driver, does not rely on the application code) or in app/services (if it depends on the application itself).
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Really loved the article.
I just have a question about how do you organize your files, where do you recommend to place
*_delivery.rb
&*_driver.rb
files in a rails project folder structure?I'm asking because I have an existing project, with tons of files, and I want to organize them better.
Cheers,
Robi
I put deliveries under
app/deliveries
.Drivers could be stored in different places: somewhere in
lib/
folder (if it's a general driver, does not rely on the application code) or inapp/services
(if it depends on the application itself).