Lets say you need to make a change to a commit OLD_COMMIT, but this is not the most recent...
In order to go back one page in your Cucumber tests, you can use the following step definition for Capybara...
To change a commit message of the most recent (unpushed) commit, you can simply use git commit –amend -m 'new...
Plugins (and gems) are typically tested using a complete sample rails application that lives in the spec folder of the...
Added utility methods for the Prototype Javascript framework.
Fixes all Flash elements on a page so that they heed DOM stacking order
This will stash all modifications that you did not git add: git stash -k Note that newly created (and non...
For clarity and traceability, your commit messages should include the ID and title of the Pivotal Tracker story you're...
If you need to revert only parts of one or several commits the following workflow can help:
git diff commit_hash -- path/to/file Provide any commit hashes or branch names like "master" for commit_hash.
You will need to upgrade to RSpec >= 2 and rspec-rails >= 2 for Rails 3. Here are some hints to...
I prefer the application that I'm currently working on to be reachable at http://localhost/. So when I switch...
Hooks lets you define hooks declaratively in your ruby class. You can add callbacks to your hook, which will be...
Ruby gem that provides an AR-style interface for the Pivotal Tracker API.
Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11
You don't need a Rails application to use Sass. Even when you're working on a static site you...
It’s pretty common for projects hosted on GitHub to receive “pull requests”: requests from people who have cloned your...
power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...
When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...
delocalize provides localized date/time and number parsing functionality for Rails.
First of all: You could just use RVM which would make the pain go away. If for some reason you...
This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...
Capistrano task for Bundler.
Call with the server's hostname (and user if you have no SSH agent), e.g. install-gems-remotely my.server.com