Ruby News 03 August, 2022 | 05:00:00 UTC (+0000)
Tweet
Copy Link

**New Ruby News digest of the most interesting news for July so you don’t miss anything:

In Ruby and Rails, there is no class dedicated to time-of-day, so 2000–01–01 is used for the time. ActiveModel implements a Time class to reflect the database type of time.

A list of good examples of how you should add default values in Ruby On Rails.

This article will show how we can export to CSV without any external gems.

And this will explain how to import data from a CSV to a database table.

Tips: But if you want to make really fast upload you can use direct db commands:

Example for MySQL

Example for Postgresql

Read how to build an in-house solution for log monitoring.

The author show a simple trick for debugging in ruby, involving a global variable that use to toggle a conditional debug statement.

execution strategy

Final Words

Follow the latest news and events on Ruby News and our social media to stay in touch!

Please Let us know your thoughts below!

Interested in earlier pieces of news?

Dig into our archived posts! We’ve got some awesome gems for you there!

Browse Archives