You probably already manage servers you often connect to inside the ~/.ssh/config file. What is nice: you may define alias...

When your cucumber features grow massively over time, the test execution can take a lot of time.

Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...

makandra dev
github.com

After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...

weblog.rubyonrails.org

Asset pipeline, HTTP streaming, jQuery as default framework, auto-reversable migrations, identity map for ActiveRecord. Ruby 1.8.x support will...

Sometimes PDF cucumber tests fail at the first test run and succeed at the second run. You can fix this...

Install Ubuntu Server Download an image from this site Select File > New… to and follow the instructions, choose the .iso...

makandra dev

Validations that need to access an associated object may lead to some trouble. Let's exemplify that using this example...

You can seriously speed up deployments with Capistrano when using a local git repository on the server you are deploying...

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...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

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...

ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...

User.active.to_sql Rails 2 Use either the Edge Rider or fake_arel gem to get #to_sql backported...

apidock.com

Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.

benmabey.com

Bryan talked about the differences between imperative and declarative scenarios. In my opinion, both styles have benefits and should be...

When using ActionMailer, you can set an array of email addresses as recipients. If this array is generated by e.g...

Sometimes you can make your life easier by not allowing a record attribute to be changed after the record was...

ActiveRecord comes with a method touch which sets the updated_at timestamp to the current time. Unfortunately it also runs...

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...

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