Ruby What's the fastest way to sum up an Array in Ruby? Let's say you have an array of numbers. How do you get the sum of them? One way is to iterate through the list and start adding them up one
Ruby Ruby's Enumerable#find Method Today we dive into Enumerable's #find/#detect method and how to use it effectively.
Automation Recompiling Sphinx Documentation While Writing I first got the inspiration to make a personal wiki when I saw Nikita Voloboev's Everything I Know. There's a huge amount of information in here. While it may not
Ruby Utilizing ActiveRecord Enums In The View Rails 4.1 added support for Enums to be used in models. You can check out the release notes here. Generally, these are supposed to be used for tracking internal states and should not be exposed to the user. If you're a rebel however,
Windows Installing RMagick Gem On Windows With RubyInstaller At work, I'm trying to get a copy of Redmine running on a Windows box (unfortunately I don't have a *nix box to use). I found the RailsInstaller package that sets you up with a solid base package, but in order to use Redmine