Rails의 기본 보안 기능: 개발자가 고민하지 않아도 되는 보안 설계
Rails는 SQL Injection, XSS, CSRF 등 주요 웹 보안 취약점에 대한 방어 기작을 프레임워크 수준에서 기본으로 제공한다.
Rails의 기본 보안 기능: 개발자가 고민하지 않아도 되는 보안 설계
Rails는 SQL Injection, XSS, CSRF 등 주요 웹 보안 취약점에 대한 방어 기작을 프레임워크 수준에서 기본으로 제공한다.
Rails의 본질을 활용한 컨트롤러와 뷰 정리: 서비스 객체 남용 방지
ActiveRecord를 단순한 ORM이 아닌 관계형 엔진으로 취급하여 지연 평가와 관계형 대수를 적극적으로 활용함으로써 코드의 유연성을 확보해야 한다.
[ENG] Now on stage: Nicolas Erlichman (@nicoerlichman) — "Modeling Class Hierarchies in Active Record" at Tropical on Rails 2026.
[PT-BR] No palco agora: Nicolas Erlichman (@nicoerlichman) — "Modeling Class Hierarchies in Active Record" no Tropical on Rails 2026.
[ENG] Now on stage: Miguel Marcondes Filho — "ActiveRecord::Tenanted and SQLite" at Tropical on Rails 2026.
[PT-BR] No palco agora: Miguel Marcondes Filho — "ActiveRecord::Tenanted and SQLite" no Tropical on Rails 2026.
Rails 소식: 2026년 4월 5일 - SQL 로그 컬러링 최적화 및 Postgres OID 사전 정의
ActiveRecord의 SQL 로그 컬러링 성능이 정규식 앵커링을 통해 개선되었으며, 긴 쿼리 처리 시 발생하던 타임아웃 위험을 방지한다.
New TIL post on ActiveRecord Custom Types
In developing bracket-lab, I needed a 1-indexed bit field of 63 bits, stored as an unsigned 63-bit value in an int64 column.
ActiveRecord’s custom types made this clean.
RubyLLM과 Rails 통합 가이드: ActiveRecord와 Hotwire 활용법
RubyLLM은 ActiveRecord를 통해 채팅 내역을 영구 저장하고 Hotwire를 이용해 실시간 스트리밍 UI를 구현하는 강력한 Rails 통합 기능을 제공한다.
RubyLLM은 ActiveRecord를 통해 채팅 내역을 영구 저장하고 Hotwire를 이용해 실시간 스트리밍 UI를 구현하는 강력한 Rails 통합 기능을 제공한다.
New post in our blog!
Ever struggled to build complex queries with ActiveRecord? Discover the power of derived tables! Dive into this technique to level up your Rails SQL game!
https://blog.codeminer42.com/mastering-derived-tables-in-rails/
It happens you need some field in the database to not contain an empty string, but to be NULL. For example, a unique index has been added to this field, meaning there can only be one record with an empty string. However, if the field has a NULL value, it is unique and there can be multiple such records.
#Ruby #Rails #ActiveRecord #Normalization #NULL #Empty #UNIQUE