If your shell seems frozen You probably pressed Ctrl-S which stops the buffer. Try Ctrl-Q to resume.

When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...

ActsAsSolr::Post.execute(Solr::Request::Delete.new(:query => "#{Location.solr_configuration[:type_field]}:#{ModelClass}")) ActsAsSolr::Post.execute(Solr::Request::Commit.new)

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

makandra dev

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

web.archive.org

This note shows how to merge an ugly feature branch with multiple dirty WIP commits back into the master as...

sudo apt-get install unzip rake rails:freeze:edge RELEASE=2.2.2

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:

makandra dev

Basic configuration Please keep this config simple. It should be a starting point for new developers learning Git. [user]

makandra dev

This is for people recovering from Subversion. Get an existing from the server for the first time git clone git@example.com...

jqueryElement.is(':checked')

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

When you include a non-existing Javascript file, you probably won't notice it during development. But with caching active...

makandra dev
github.com

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

makandra dev
github.com

Cerberus is a lightweight and easy-to-use Continuous Builder software for Ruby. It could be run periodically from a...

wonko.com

Given a list of acceptable elements and attributes, Sanitize will remove all unacceptable HTML from a string.

github.com

Consent is an access control abstraction layer for ActionController. It lets you restrict access to actions across your application using...

developer.yahoo.com

YSlow analyzes web pages and tells you why they're slow based on the rules for high performance web sites...

railscheck.rubyforge.org

This project is (or will be) a best effort semi-static verifier for your Ruby on Rails projects. Delivered as...

makandra dev
nocrew.org

httptunnel creates a bidirectional virtual data connection tunnelled in HTTP requests. The HTTP requests can be sent via an HTTP...