Load order of the environment
Rails 3, 4, 5, 6 config/application.rb config/environment.rb before the initialize! call (we don't usually edit this file)
Bundler for Rails 2.3.x
Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.
Recursively remove unnecessary executable-flags
Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...
How Rails and MySQL are handling time zones
When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...
Ruby Java Bridge
rjb is a bridge software. It connects Ruby and Java.
Regular Expressions - Cheat Sheet
You can write regular expressions some different ways, e.g. /regex/ and %r{regex}. For examples, look here. Remember that it...
Announcing YARD 0.6.0 (gnuu.org)
YARD 0.6 adds the ability to serve documentation for gems as well as the current project with yard server. Just...
Ruby Reports
Ruport’s acts_as_reportable module provides support for using ActiveRecord for data collection. You can use it to get...
jeremyevans's home_run at master - GitHub
home_run is an implementation of ruby’s Date/DateTime classes in C, with much better performance (20-200x) than...
defunkt's fakefs at master - GitHub
A fake filesystem. Use it in your tests.
stefankroes's ancestry at master - GitHub
Ancestry is a gem/plugin that allows the records of a Ruby on Rails ActiveRecord model to be organised as a...
Release gem; Deploy gem; Update a gem created with Jeweler
Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...
Test concurrent Ruby code
To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...
Freeze (vendor, unpack) a single Ruby gem with and without Bundler
When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...
Install a gem without RI and RDdoc
To improve installation times of gems you can use the following approach: gem install xyz --no-document To permanently ignore...
Run a single test in Test::Unit
To run a single test file: rake test:units TEST=test/unit/post_test.rb rake test:functionals TEST=test/functional/posts_controller_test.rb rake test:integration TEST...
Configuring Git with .gitconfig
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
Cerberus: Home
Cerberus is a lightweight and easy-to-use Continuous Builder software for Ruby. It could be run periodically from a...
Sanitize: A whitelist-based Ruby HTML sanitizer
Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.
It's an HTTParty and Everyone Is Invited! // RailsTips by John Nunemaker
Awesome library to consume web services in Ruby.
Railscheck project home page
This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...
Ruby, Rails, Web2.0 » Blog Archive » Great Ruby on Rails REST resources
I have been playing around with RESTful Rails recently. Below is my collection or Rails REST howtos, tutorials and other...
Super-simple Ruby Subversion Command Line Wrapper — Agile Web Operations
I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...