#Activesupport
2 notas · última:
Working with dates on Ruby on Rails
The article explains how Ruby on Rails handles dates across time zones, DST, persistence, queries, parsing, and JavaScript, and recommends using Rails and ActiveSupport time-zone-aware methods.
Reading Rails - The Adapter Pattern
The article surveys how Rails uses the Adapter Pattern to hide differences between JSON libraries, databases, and time classes, keeping a uniform API while still handling library-specific details.
