What is a Rails model? - Code with Jason
24-Mar-2021 1141
In the model-view-controller pattern that Rails is built on, it’s pretty clear what views and controllers are, but models are a little less clear. In my 10 years with Rails I’ve had the opportunity to come across a number of different conceptions regarding what models are. These conceptions often overlap but often don’t share the same exact contours.Our conception of what a model is is super important because it has a huge influence on how we structure our Rails applications, which in turn determines how easy and economical it’s going to be to maintain our applications.Here’s how I think about what Rails models are.
What is a Rails model? - Code with Jason #ruby #rubydeveloper #rubyonrails #Rails #model? #Jason #code https://rubyonrails.ba/link/what-is-a-rails-model-code-with-jason