4 ms·
Adding here, a lot of this unknown is mitigated by convention over configuration in Rails. If one using Rails accepts this and tries not to fight it, then the
by gls2ro 3y ago
Adding here, a lot of this unknown is mitigated by convention over configuration in Rails.
If one using Rails accepts this and tries not to fight it, then the metaprogramming of Rails provides a lot of goodies.
- RussianCow 3y agoWhich is great in theory, until you realize that there are 200 pages of convention, and there is just enough room for interpretation that different companies have slightly different takes on it.
- gls2ro 3y agoI think here, different people have different preferences. I prefer convention over configuration because once learned it just works. For me in Rails when I look at an URL, I kinda know what is the file that handles that (the controller). And that is what I appreciate. Of course, different needs require different solutions. I also worked with Sinatra which does not have this. But I choose it exactly because it is light and it allows me to group my logic in a different way.