Rails 내부 동작 원리: ActiveRecord 쿼리 실행의 5단계 과정
ActiveRecord는 쿼리 호출 시 즉시 실행하지 않고 Relation 객체를 생성하는 지연 로딩(Lazy Loading) 방식을 채택한다.
🔗 원문 보기