stevenharman, to rails

A neat idea for preventing DB access within the scope of a block, from another of my too smart coworkers. https://discuss.rubyonrails.org/t/proposal-prevent-activerecord-access/85322

Crell, to Laravel
@Crell@phpc.social avatar

An excellent if long writeup about the failures of #ActiveRecord. Which is also one of the reasons I am so vocal about the fundamental problems of #Laravel/#Eloquent, as it's a particularly messy Active Record implementation.

https://shawnmc.cool/active-record-how-we-got-persistence-perfectly-wrong

#PHP

Crell, to php
@Crell@phpc.social avatar
ste, to rails

If you don't know scope accepts classes in place of blocks. so you can organize complex queries logic in their own class files.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • thenastyranch
  • magazineikmin
  • ethstaker
  • GTA5RPClips
  • InstantRegret
  • rosin
  • love
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • everett
  • DreamBathrooms
  • megavids
  • osvaldo12
  • tester
  • cisconetworking
  • tacticalgear
  • ngwrru68w68
  • Durango
  • cubers
  • mdbf
  • normalnudes
  • anitta
  • modclub
  • Leos
  • JUstTest
  • All magazines