Load order of the environment

Posted Over 13 years ago by Henning Koch.

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

Posted Over 13 years ago by Thomas Eisenbarth.

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

Posted Over 13 years ago by Arne Hartherz.

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

Posted Over 13 years ago by Tobias Kraze.

When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...

Ruby Java Bridge

Posted Over 13 years ago by Lexy.
rjb.rubyforge.org

rjb is a bridge software. It connects Ruby and Java.

Regular Expressions - Cheat Sheet

Posted Over 13 years ago.
regular-expressions.info

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)

Posted Over 13 years ago by Lexy.
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

Posted Over 13 years ago by Lexy.
ruportbook.com

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

Posted Over 13 years ago by Lexy.
github.com

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

Posted Almost 14 years ago by Lexy.
github.com

A fake filesystem. Use it in your tests.

stefankroes's ancestry at master - GitHub

Posted Over 13 years ago by Lexy.
github.com

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

Posted Over 13 years ago by Henning Koch.

Until May 2011 our gems have been created with Jeweler, which is a helper library to package code into a...

Test concurrent Ruby code

Posted Over 13 years ago by Tobias Kraze.

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

Posted Over 13 years ago by Henning Koch.

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

Posted Over 13 years ago by Henning Koch.

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

Posted Over 13 years ago by Henning Koch.

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

Posted Over 13 years ago by Dominik Schöler.

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

Useful APIs

Posted Over 13 years ago.
rdoc.info

Ruby Rails Any gem

Cerberus: Home

Posted Over 15 years ago by Lexy.
cerberus.rubyforge.org

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

Posted Over 15 years ago by Lexy.
wonko.com

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

Posted Over 15 years ago by Lexy.
railstips.org

Awesome library to consume web services in Ruby.

Railscheck project home page

Posted Over 15 years ago by Lexy.
railscheck.rubyforge.org

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

Posted Over 15 years ago by Lexy.
rubyrailways.com

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

Posted Over 15 years ago by Lexy.
agileweboperations.com

I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...