Namespacing in Rails 5
If you've created a large Rails project, you may be encountering an organizational issue. Models, controllers, and other files live in the same folder...
If you've created a large Rails project, you may be encountering an organizational issue. Models, controllers, and other files live in the same folder...
Utilizing validation ensures good data integrity. You should validate on the server (in the model/controller) for security, and on the client to improve...
Polymorphic Associations help when one table must belongs_to
multiple other tables.
The Rails docs demonstrate this relationship with an Imageable relationship...
I recently came across this cool article showing how to make URLs that don't suck. It cross references some other articles discussing the same topic...