4 ms·
I've written about this before [1] but i think the higher level message here is about Ruby on Rails developers expanding their database understanding and/or rel
by liquidise 10y ago
I've written about this before [1] but i think the higher level message here is about Ruby on Rails developers expanding their database understanding and/or reliance. Given how cleanly ActiveRecord abstracts database porcelain, many devs who started with Rails don't lean on the database enough.
This, along with validators, table indexing and foreign keys are some of the more common shortcomings i see in devs who learned on Rails.
1: https://blog.benroux.me/be-the-better-rails-developer/ https://blog.benroux.me/be-the-better-rails-developer/
- vinceguidry 10y agoWhen you're starting out, you don't need these optimizations. Depending on what you're trying to do, you may never need them, and instead find that a caching solution is best.
- hderms 10y agoData integrity isn't an optimization.