Loading…
0+ curated questions with the same answer shape every time: quick recap, deep dive, pitfalls, and follow-ups. Coverage includes .
Active Support powers the Rails magic that engineers often take for granted. This module covers the ActiveSupport::Concern pattern and how it eliminates the included do base.extend ClassMethods boilerplate, time zones with Time.current vs Time.now (always use Time.current in Rails), config.time_zone and the TZInfo dependency, the commonly-used Active Support utilities (blank?/present?/presence, deep_merge, to_query, humanize/titleize/camelize/parameterize), ActiveSupport::Notifications for subscribing to Rails instrumentation events, the delegate macro for method forwarding, class_attribute vs cattr_accessor, memoization with ||= and the thread-safety caveat, and Railtie as the entry point for gems to hook into Rails initialization.
Full catalog
Topics are ordered for learning. Within each topic, rows are numbered 1–0 globally so you always know where you are. Collapse topics if you want a lighter view — use Expand all when you need the full list again.
Numbers 1–0 follow the order we recommend — click any row to open the full answer, or use the sticky Next link at the bottom of each page to go Q1 → Q0.