REST Client is a nice, simple HTTP client library for Ruby. When you do a simple GET request like that...

Tooltips that are delivered through HTML attributes are encoded. Decode entities before checking for their presence. Capybara: Then /^there should...

Sometimes it might be helpful to have a version history for a gem, e.g. when you want to see if...

github.com

Some helpers for poking around at your Capybara driven browser's cookies in integration tests. Supports Capybara's bundled drivers...

If Sunspot does not work and fails with a backtrace similar to this: /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:227:in `adapt_response' /project/shared/bundle/ruby/1.8/gems/rsolr-1.0.6/lib/rsolr/client.rb:164...

The following snippet demonstrates how you could create excel files (with spreadsheet gem) and format columns so that they follow...

makandra dev

This describes all the steps you'll need to get Solr up and running for your project using the Sunspot...

Views are normally (for good reason) not rendered in controller specs. If you need it to happen, use:

github.com

Gem to get Rails 3's new ActiveRecord query interface (where, order) and the new scope syntax (chaining scope definitions...

github.com

Gem to get Ruby 1.9 features in Ruby 1.8.

Sometimes you want one distinct version of RubyGems to be installed to replicate the same behavior across multiple servers.

makandra dev
github.com

Use the command geordi migrate to migrate your databases and to prepare them before running tests. The abbrevation geordi m...

Our gitpt script to generate git commits from Pivotal Tracker stories has been tweaked and polished and is now part...

github.com

Note: capistrano_colors was merged into Capistrano starting from v2.13.5. However, this requires Ruby 1.9+. If you cannot upgrade Capistrano...

If you're using Paperclip to store and convert images attached to your models, processing a lot of images will...

If you get this error while deploy and you are sure the Gemfile.lock is in the version control check your...

github.com

When internationalizing your Rails app, you'll be replacing strings like 'Please enter your name' with t('.name_prompt'). You...

github.com

When Rack::Bug has been added to your project and your Apache2/Passenger only replies with an Error 500 (Internal Server...

sequel.rubyforge.org

Seems like a useful gem for cases where ActiveRecord is overkill but you don't want to do everything by...

rails-erd.rubyforge.org

Gem to generate entity relationship diagrams from your Rails 3 ActiveRecord models. The diagram style is pretty and configurable.

For performance improvements (and to remove the need for eager loading), the ActsAsTaggableOn gem supports caching your tag lists directly...

blog.carbonfive.com

I still see people promoting various gems and plugins to handle miscellaneous configuration elements for your application. One little known...

beginrescueend.com

To use different Ruby versions on your computer you can use the Ruby Version Manager. It also allows you to...

"Classic" Excel (XLS) has a magic limit of 65535 rows per worksheet. This was fixed in XLSX but the version...