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
There will probably be better solutions as we become more experienced with using Bundler, and more command line tools become...
If you added a file by mistake, you can unstage it (but keep local changes) by saying git reset HEAD...
Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.
Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba...
the best damn presentation software a developer could ever love
jamesgolick / resource_controller at Github module ResourceController module Actions def index load_collection before :index response_for :index end
The Git stash does not work like a one-slot clipboard and you might shoot yourself in the foot if...
Our awesome collection of rspec helpers (formerly known as "spec_candy.rb") is now available as a gem. It works, it is...