Before installing chef, make sure curl is installed and sudo finds your gems setup chef-client: follow this guide
Although regular expression syntax is 99% interchangeable between languages, keep this in mind: By default, the dot character (".") does not...
You know that you can collect an array as groups using in_groups or in_groups_of. Maybe you want...
If you want to play music or sounds from a browser, your choice is to use either Flash or the...
Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.
Validations that need to access an associated object may lead to some trouble. Let's exemplify that using this example...
Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...
Ruby comes with a class BigDecimal which you can use for arbitrary precision arithmetic. You should use BigDecimal instead of...
When storing floating-point numbers such as prices or totals in an SQL database, always use a DECIMAL column. Never...
You set a flash message and it shows up as it should. However, it is displayed again the next time...
Airbrake (formerly Hoptoad) already ignores certain errors like InvalidAuthenticityToken by default (see Airbrake::Configuration::IGNORE_DEFAULT).\ To ignore additional classes...
Sass now comes with user-defined functions, keyword arguments, list manipulation. Haml and Sass are now two separate gems.
If you save a non-standard object (not a String or Fixnum, etc) like the AwesomeClass from your application in...
The Edge Rider gem will define a method collect_ids on your ActiveRecord models, scopes, integer scalars and collections, which...
A capybara driver that uses WebKit via QtWebKit.
Our new scope-based authorization gem for Ruby on Rails has been released. This might one day replace Aegis as...
Documentation for the horrible RDoc syntax.
Ruby gem to check whether a given bic/account-no-combination can possibly be valid for a German bank. Can also resolve German...
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...
If you are using RVM on a Mac and cannot enter 8+ bit characters on an IRB or Rails console...
ActiveRecord models know how to cast a given string to the type of a given attribute (or column).
The Basic Authentication header encodes username and password. Effectively, it's just Base64 plus a "Basic" prefix.
Since version 1.5 RubyGems requires at least Ruby 1.8.7. The last one working with Ruby 1.8.6 was RubyGems 1.4.2.
When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes