Rails does not support sub-second precision with Oracle
We recently discovered that Rails maps a :timestamp in a migration file to an Oracle DATE instead of a TIMESTAMP. DATE types only have second precision, not ...
We recently discovered that Rails maps a :timestamp in a migration file to an Oracle DATE instead of a TIMESTAMP. DATE types only have second precision, not ...
Since I work for a consulting company, I travel for a living. As a result, I’ve taken quite an interest in flight statistics. For example, how often is my fl...
When rendering a partial with a collection, it can be useful to know the index of the item currently being rendered. It turns out that rails provides this wi...
The simplest way to read a line of input is to use the gets method. However, if you try to use the arrow keys when entering text, you will see that this mere...
I noticed an interesting quirk of the alias method. Normally, if we call super from a method, it calls a method with the same name on the super class. Howeve...