github.com

Whenever is a Ruby gem that provides a clear syntax for writing and deploying cron jobs.

makandra dev

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

We often have a separate production branch that lags a bit behind the more cutting edge main branch. Sometimes you...

Occasionally you need to do something directly on the server -- like having all records recalculate something that cannot be done...

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

thrivingkings.com

An alert alternative for jQuery that looks good. Apprise is a very simple, fast, attractive, and unobtrusive way to communicate...

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

travisonrails.com

You set a flash message and it shows up as it should. However, it is displayed again the next time...

agileweboperations.com

User Stories should describe what a user wants the system to do. Purely technical tasks should usually be implemented as...

If you save a non-standard object (not a String or Fixnum, etc) like the AwesomeClass from your application in...

httpd.apache.org

If you want to have a new log file every day automatically, but avoid using logrotate, the CustomLog directive is...

You most likely have a form element inside another form element. Don't do that. Ever. Firefox and Chrome will...

You can use CSS attribute selectors in your step definitions like this: Then /^the page should have a meta description...

Partials always define a local variable with the same name as themselves. E.g. when you are in _recent_users.html.erb, a local...

The Edge Rider gem will define a method collect_ids on your ActiveRecord models, scopes, integer scalars and collections, which...

rails.lighthouseapp.com

This is a bug in Rails 2.3.11 which will be fixed in a future maintenance release. Until then you can...

github.com

A capybara driver that uses WebKit via QtWebKit.

To display a list of your current Git remotes and their endpoints, you can say git remote -v

makandra dev

If you want to convert a README.rdoc file to HTML, say this from a shell: rdoc README.rdoc

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

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