Handling nil in method calls
On my current project, we noticed common pattern when dealing with nil. We would often check an object to see if it was nil before calling a method on that o...
On my current project, we noticed common pattern when dealing with nil. We would often check an object to see if it was nil before calling a method on that o...
On my current project, we wanted to write some code to load a specific user’s session data (not the current user). This turned out to be a little trickier th...
On my current project, we had a requirement to pop up a message to the user when they leave our site (e.g., close the browser window). We discovered a number...
One of the great features of version control is that I can easily revert back to a known good state. I can do this in Subversion with the following command:
It seems strange, but duplicate null values do not violate unique constraints in PostgreSQL.