Ruby on Medicine: Scrolling Through Large Files
Magical Authentication with Sorcery
Add Twitter Authentication to an Ember.js App with Torii
Schedule Cron Jobs with the Whenever Gem
Leaderboards on Rails
Volt: Assets, Components, and Routes
Ruby on Medicine: Handling Large Files
Loading Code with Ruby
Activity Feeds with Rails
Sailing the Parallel Seas with Codeship
Free Static Sites with Middleman and GitHub
Image Processing with Rails
Which IDEs do Rubyists Use?
YouTube API, Version 3 on Rails
Real-time Web Apps with Volt in Ruby
New Methods in Ruby 2.2
Decoupling with Lotus
Closures in Ruby
Symbol GC in Ruby 2.2
What is symbol GC and why should you care? Ruby 2.2 was just released and, in addition to incremental GC, one of the other big features is Symbol GC. If you've been around the Ruby landscape, you've heard the term "symbol DoS". A symbol denial of service attack occurs when a system creates so many symbols that it runs out of memory. This is because, prior to Ruby 2.2, symbols lived forever. For example in Ruby 2.1:
Rails Model Caching with Redis
Model level caching is something that's often ignored, even by seasoned developers. Much of it's due to the misconception that, when you cache the views, you don't need to cache at the lower levels. While it's true that much of a bottleneck in the Rails world lies in the View layer, that's not always the case.
Lower level caches are very flexible and can work anywhere in the application. In this tutorial, I'll demonstrate how to cache your models with Redis.