Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...
With gem dependency it is possible to check the dependencies for your gem before you install it.
When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...
I've recently encountered a weird problem with specs making lots of SOLR queries using the acts_as_solr plugin...
If you need to parse a large XML file (> 20 MB or so), you should parse it in chunks, otherwise...
These steps are now part of Spreewald. Since Capybara 0.4.1 a within scope will only look at the first element...
The step definition below allows you to write: Then I should see a link labeled "Foo" But I should not...
When you render a nested form for a Movie which has_many :actors, you want to render the right number...
To test if you can connect to a host using password authentication and explicitly deny public key authentication:
Here is how to switch your Selenium to Chrome: Make sure you've got a recent version of chromedriver in...
If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...
This is somewhat similar to the touch command of Linux: FileUtils.touch 'example.txt', :mtime => Time.now - 2.hours If you omit the :mtime...
If you need Google Chrome to run in English, and your system locale is a non-English one, you have...
When some of your Google contacts are no longer synchronized with your e-mail client or mobile phone, those contacts...
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...
If you want to use a helper_method my_helper_method inside a model, you can write ApplicationController.helpers.my_helper...
Consider the following: describe '#something' do context 'with lots of required arguments' do it 'should work' do subject.something(:foo => 'foo...
When rendering a number, you want to pretty up the string coming from #to_s: Render 0.0 as 0
Most web applications contain several examples of state machines, including accounts and subscriptions, invoices, orders, blog posts, and many more...
Because your examples should not change global state, you should not need to care about the order in which RSpec...
I encountered a bug in RSpec 1.x where stubbed class methods ("static methods") would not be unstubbed before the...
I pushed a new version of the Cucumber Factory gem. This new release lets you refer to a previously created...
Attached you can find an example ~/.ssh/config file which makes working with SSH more pleasant. It contains several tweaks: