makandra dev

If you modified git's history and the change was already pushed, you will usually get a ! [rejected] my-branch...

To change the commit message of the latest (unpushed, unmerged) commit, you can use git commit --amend

makandra dev

Lets say you need to make a change to a commit OLD_COMMIT, but this is not the most recent...

This card explains how to install RubyMine for the first time. If you want to upgrade an existing RubyMine installation...

makandra dev

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...

This collection of Sass mixins enables cross-browser styling (including IE with CSS3PIE) with less lines of code.

github.com

Added utility methods for the Prototype Javascript framework.

github.com

Fixes all Flash elements on a page so that they heed DOM stacking order

makandra dev

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...

To only run the next two migrations: rake db:migrate STEP=2 To revert the previous two migrations:

makandra dev

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.

To install webmock 1.5.0: sudo gem install webmock --version "=1.5.0" or sudo gem install webmock -v "=1.5.0"

After switching to Rails 3 you may get a LoadError with the following message when trying to use your application...

I prefer the application that I'm currently working on to be reachable at http://localhost/. So when I switch...

If you previously used version 2.x of Thunderbird and upgraded to 3.x (for example through an Ubuntu release...

github.com

Hooks lets you define hooks declaratively in your ruby class. You can add callbacks to your hook, which will be...

github.com

Ruby gem that provides an AR-style interface for the Pivotal Tracker API.

makandra dev

Note that you should disable the Java plug-in in your browsers after installation. Ubuntu >= 12.04 Java 11

Cucumber step argument transforms can be a powerful way to make your steps more flexible. Note however that if your...

beust.com

It’s pretty common for projects hosted on GitHub to receive “pull requests”: requests from people who have cloned your...