In a previous post I mentioned that I started maintaining a set of helper Ruby classes for working with barcodes. I have changed the structure of the project to make it a gem and I have published it on GemCutter.
I was wondering why some people are using _path and why some use _url. For example, if you have a Post resource you can write the following in your view: <%= link_to ‘List of posts’, posts_path %> or the following in the controller: redirect_to posts_url Why should I use _url in the controller. I have … Continue reading Rails: url vs path
Nowadays, I use C# to write code most of the time. I don’t have the time I used to have for researching and learning new languages/frameworks/etc., but I try my best to learn something new, at least once every 8-12 months. My last try was Ruby on Rails. Still trying to tame the beast. A … Continue reading Android
My database background has been mostly related to Oracle. These days, I am working as a freelancer with a company that heavily uses SQL Server. As a result, I miss knowing stuff out of my mind without having to search. Today, I wanted to select from a table only those records that where created today. … Continue reading Selecting only today's records