makandra dev
github.com

Our new scope-based authorization gem for Ruby on Rails has been released. This might one day replace Aegis as...

rdoc.rubyforge.org

Documentation for the horrible RDoc syntax.

github.com

Ruby gem to check whether a given bic/account-no-combination can possibly be valid for a German bank. Can also resolve German...

If you are using RVM on a Mac and cannot enter 8+ bit characters on an IRB or Rails console...

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.

makandra dev

When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes

makandra dev
github.com

Artifice allows you to replace the Net::HTTP subsystem of Ruby with an equivalent that routes all requests to a...

redmine.org

Phillip Koebbe from Ruby on Rails suggested inserting following code between the "bootstrap" and "initialize" sections of enviroment.rb. This hack...

makandra dev

The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...

Note that you cannot currently use Ruby 1.9.2 with Rails 2 applications that use RSpec, so don't upgrade if...

makandra dev
cch4rails.blogspot.com

List of global variables available to a Ruby script.

Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2

makandra dev
github.com

The shell variable PS1 holds your bash prompt. You might want to change it to serve your needs best. Here...

pluginaweek.org

Now allows to list transition paths from and to arbitrary states.

Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...

Depending on where you live, different rules are used to determine the number of the week and a weekday. You...

When you click a link or a press a button on a Selenium-controlled browser, the call will return control...

So you are comparing two Time objects in an RSpec example, and they are not equal, although they look equal...

rhnh.net

In order to cover some edge cases you rarely care about, Range#include? will become very slow in Ruby 1.9...

After updating your RubyGems, you will probably not be able to run Capistrano any more, but receive an error similar...

makandra dev
innig.net

If you want to get a deep understanding of how closures, blocks, procs & lambdas in Ruby work, check out the...

On 32bit systems, the maximum representable Time is 2038-01-19 03:14:07 in UTC or 2038-01-19...

The code below shows a method #validate which uses Nokogiri to validate an XML document against an XSD schema. It...

A check if two date or time ranges A and B overlap needs to cover a lot of cases: