Happy Friday, this is Greg, bringing you the latest news from the Rails world.
A Rails anniversary!
Today is the 22nd anniversary of the first public release of Ruby on Rails!
Learn from real, open-source Rails apps
On the Rails website, now you can find a small, hand-picked library of
exemplary open-source apps worth reading to see how production-quality Rails is
built today.
Update the JavaScript in Rails guide
The updated JavaScript in Rails guide is ready for community review!
Preserve sub-second precision when subtracting a DateTime from a Time
This pull request makes sure that sub-second precision is preserved when subtracting a DateTime from a Time.
Time - DateTime converted both sides via to_f, so microsecond-level
DateTime values lost precision. The difference is now computed from exact
rational timestamps, matching Time.at(DateTime) and
ActiveSupport::TimeWithZone - DateTime.
Deprecate RedisCacheStore::DEFAULT_REDIS_OPTIONS
The redis-client implementation no longer reads this constant. Pass timeout
options to RedisCacheStore or a configured RedisClient instead.
Deprecate Cookies::HTTP_HEADER constant
You should migrate to Rack::SET_COOKIE from Cookies::HTTP_HEADER because it will be removed from future versions of Rails.
You can view the whole list of changes here.
We had 22 contributors to the Rails codebase this past week!
Until next time!
Subscribe to get these updates mailed to you.