sudo gem install zip git clone git://github.com/rtomayko/date-performance.git cd date-performance rake package:build cd dist sudo gem install...
Solr listens to different ports for different environments. Start Solr (and hide useless output) rake solr:start PORT=8981 &>/dev/null...
script/cucumber features/feature_name.feature Or, if you don't care about speed, you can use rake: rake features FEATURE=features/feature_name.feature
To improve installation times of gems you can use the following approach: gem install xyz --no-document To permanently ignore...
To call a class method (or static method) from an instance method: class.method() To call a class method from a...
This can happen during development when classes without automatic reloading are pointing to classes with automatic reloading. E.g. some class...
This note shows how to merge an ugly feature branch with multiple dirty WIP commits back into the master as...
Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...
To run a single test file: rake test:units TEST=test/unit/post_test.rb rake test:functionals TEST=test/functional/posts_controller_test.rb rake test:integration TEST...
If you would like to checkout the branch groups, you can simply say this in recent versions of Git:
Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]
This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...
In Ubuntu your ALT key is locked when you're working in VirtualBox. There are two workarounds for this:
You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...
Gem to provide nice looking urls ("/blog/the-greatest-bug-i-never-fixed"). If you don't need anything too special (like i18n for the urls...
Cerberus is a lightweight and easy-to-use Continuous Builder software for Ruby. It could be run periodically from a...
Consent is an access control abstraction layer for ActionController. It lets you restrict access to actions across your application using...
Awesome library to consume web services in Ruby.
JSViz makes it easy to create dynamic 2D views of information. Practical applications include network graphs, navigation, and other dynamic...
This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...
Wrapper from Globalite API to the Rails 2.2 I18n API
I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...