Ruby, Ruby on Rails, Ember, Elm, Phoenix, Elixir, React, Vue
-
Ruby on Rails Paperclip Cloudfront Gotcha
Short story: turn on forward query string in CloudFront configuration
Long story: Had the damnedest time debugging an issue with Paperclip images not updating over the weekend. I’d done a number of updates recently, from Ruby 1.9.3 to Ruby 2.1.1,...
-
Rails Russian Doll Caching For Multi-Language Sites
I’ve been digging in on Rails russian doll caching lately, working on various performance improvements of a high-traffic site that is pushing the limits of our server.
One thing worth noting is that if your site is multi-lingual is that you’re going...
-
Bundler Audit
bundler-audit
I picked up many welcome tips at RailsConf 2014. One was bundler-audit. I han’t heard of the gem before but took a look and found it extremely useful. I look forward to using this on all projects.
When run, bundler-audit takes a look...
-
Canada Post gem
I’ve created a Canada Post gem, for use with Ruby on Rails.
A previous gem was for an older version of the Canada Post API.
The gem I have created is designed to work with the Canada Post REST API.
It’s very basic initial version, only what I needed...
-
Dragonfly with Wicked PDF
I’ve been having trouble finding information about using Wicked PDF in combination with the Dragonfly gem.
I also had trouble in the Dragonfly gem documentation locating a method to produce the actual file path.
A series of guess led me to this:
-
jQuery No Frills Carousel
The world needs more jQuery carousels, so I’m doing what I can.
I was using Tiny Carousel, which was serving my needs just fine, but it mysteriously broke on me so I created this. It that works for you it’s recommended over this. It has options, this...
-
Nested attributes validation fails on create new record because parent id has not yet been set
The problem:
class Item < ActiveRecord::Base has_many :related_items accepts_nested_attributes_for :related_items end class RelatedItem validates :order, presence: true end
This works fine if you’re updating an existing item, but when creating...
-
Gitbox vs Tower
-
Goodbye, GoDaddy!
After years of wishing I had never registered my domains with GoDaddy, I’ve finally done it. My three main domain names were on the verge of expiring, and I just couldn’t stomach the thought of giving them another cent of my money.
Assuming all goes...
-
RefineryCMS / Dragonfly image from url gotcha
I got a curious bug ticket recently involving an install of RefineryCMS that used Dragonfly’s ability to add an image from url.
The feature was working fine except when the client attempted to add one of their own image urls, at which point they received...
- Page 6 of 11
- Next page
- Previous page