today-I-learned

Rails Paperclip gem to convert thumbnail’s transparent background to white instead of black

Paperclip::Attachment.default_options[:convert_options] = { :all => '-background white -alpha remove' }

Continue reading →

1x1px.me:

A tiny tool to get a 1x1px PNG: http://www.1x1px.me/

Continue reading →

Rails cache_key

[guides.rubyonrails.org/v4.0/cach...](http://guides.rubyonrails.org/v4.0/caching_with_rails.html)

Continue reading →

Reading: Uphill uncertainty

https://m.signalvnoise.com/running-in-circles-aae73d79ce19

Continue reading →

Basecamp 3 has link to Dropbox now

Nice feature on top of their Google Drive link.

Continue reading →

Cannot use /statuses rails routes in Nginx server

The /statuses routes is resolved by Nginx level instead of Rails application.

Continue reading →