Feeds:
Posts
Comments

Archive for the ‘Ruby on Rails’ Category

After adding simply_versioned support in a model that is using attachment_fu with S3 storage, I was getting this strange error the second time my versions association was used in my application:
NoMethodError (undefined method `quoted_table_name’ for “0.5.1″:String)
After a few hours, I finally figured out that this was caused by the aws/s3 setting its Version to “0.5.1″ [...]

Read Full Post »

I’m back from a very relaxing week in Mexico.  I strongly recommend this resort: Valentin Imperial Maya in Riviera Maya.  Great place, great food!
Alright.  Here are the show notes of my presentation on SOLR at Montreal on Rails on August 19th.
First, the slides are on SlideShare.
SOLR is a Java-based plugin. It is based on the [...]

Read Full Post »

Like most of the programmers that have to deal with languages other than english, I wish we were building english-only web applications, and support only english strings. I live in Quebec and almost all my projects have to deal with the french accents. It obviously brings a lot of challenges when dealing with [...]

Read Full Post »

Textmate shortcuts

Oh my god. I finally found the shortcut I was missing for so long: Ctrl-Shift-T. It brings a list of all the methods in the class I’m currently editing. Man, I was dreaming about this feature almost every night. Everyday we learn something, so this is what I learned today (among [...]

Read Full Post »

I was looking at some Railscasts.com podcasts and Bryan is using an interesting way to concatenate 2 strings, using an array and a join operation.

def full_name
[first_name, last_name].join(‘ ‘)
end

Now, I was wondering if this was a bit overkill since it has to allocate an Array, then loop through it and build the string. [...]

Read Full Post »

Railscasts rocks!

Another great discovery: railscasts.com. Over 73 small video podcats on different hints for Ruby on Rails. If you are a beginner or a senior RoR developper, you will for sure learn something from those podcasts. They are also accessible through iTunes, so you can subscribe to the podcast and have them sent to [...]

Read Full Post »

Google Trends

Wow.. amazing. Somedays, I just love Google. I just discovered Google Trends this morning. Check the Ruby on Rails trend. Isn’t that amazing? Now, you see on this graph that the trend is stable for now. I personally thought it would be going up, but hey, that’s just because [...]

Read Full Post »