After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...
When browsing a repository, pressing "t" allows you to quickly search for file names. Very awesome! Go here to try...
I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks
If you want to use the (badly implemented!) solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port...
Attached is a working config to deploy an application with Capistrano that needs to monitor Resque workers with God.
The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...
tl;dr: Always have your attachment path start with :rails_root/storage/#{Rails.env}#{ENV['RAILS_TEST_NUMBER']}/. The directory where you...
When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...
When you need to create a locale for a language variant (like Austrian for German), you probably don't want...
When you need to use diff in either some Ruby code or your Rails app, use the differ gem.
If you're writing a spec for an application using Resque, you may need to work off queues manually without...
Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:
Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...
This note describes how to kick a user out of a Rails application after she hasn't requested an action...
In Rails 2, you could use link_to_remote...
...:update => 'id' to automatically replace the content of $('#id').
Note that this card is very old. You might want to use ActiveType for your auto-coerced virtual attributes instead...
We usually generate our commit messages from Pivotal Tracker IDs and titles, like [#15775609] Index view for conflicts
Some folks have started to keep their linux configuration in a git repository called "dotfiles". This sounds like a good...
Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...
Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...
We're adding a script console-for to open a remote Rails console with one command. Also have a look...
Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...
Sometimes, when running a rake task, RubyGems 1.8.5 raises an error: rake aborted! undefined method `specifications' for "/usr/lib/ruby/gems/1.8":String
My RubyMine (and it seems like many other Java GUI applications) crashes the Compiz window decorator almost every time on...