Categories
-
Recent Posts
Archives
Tag Archives: Ruby
Force file_column to regenerate the thumbnails
A small post to show how to let file_column to regenerate the already generated thumbnails. def update_attributes(att) self.path = File.new(self.path, "r") self.save super(att) end When you put this piece of code in the model where the file_column is used, the … Continue reading
Gem 1.2.0 released
Yesterday gem 1.2.0 was released. This is a release we’ve all been waiting for! This version doesn’t have the ‘bulkupdate’ and doesn’t consume that much memory as before. So update your gem for the last time with the -B parameter. … Continue reading