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″ [...]
Archive for the ‘Ruby on Rails’ Category
simply_versioned + attachment_fu + aws/s3
Posted in Ruby on Rails, tagged Ruby on Rails on September 17, 2008 | 3 Comments »
SOLR Presentation at Montreal On Rails
Posted in Ruby on Rails, tagged acts_as_solr, rails, solr on September 1, 2008 | 4 Comments »
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 [...]
GoogleMap geocoding challenges
Posted in Ruby on Rails on October 25, 2007 | 1 Comment »
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 [...]
Textmate shortcuts
Posted in Ruby on Rails on October 11, 2007 | Leave a Comment »
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 [...]
Concatenating strings
Posted in Ruby on Rails on October 6, 2007 | Leave a Comment »
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. [...]
Railscasts rocks!
Posted in Ruby on Rails on October 5, 2007 | Leave a Comment »
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 [...]
Google Trends
Posted in Ruby on Rails on September 23, 2007 | 1 Comment »
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 [...]







