With defaults, RCov doesn't work the way you how you would like it to. To create a nice test...

makandra dev
github.com

We built cucumber_spinner to have a progress bar for Cucumber features, which also outputs failing scenarios as soon as...

makandra dev

To test concurrent code, you will need to run multiple threads. Unfortunately, when you use blocking system calls (e.g. locks...

makandra dev

rspec_spinner is a progress bar for RSpec which outputs failing examples as they happen (instead of all at the...

For arrays of objects, uniq does not work as expected, since it uses strict equality. So [[1], [1]].uniq() == [[1...

makandra dev

Install gem and plugin sudo gem install parallel script/plugin install git://github.com/grosser/parallel_tests.git Adapt config/database.yml test: database: xxx_test<%= ENV...

To parse XML-documents, I recommend the gem nokogiri. A few hints: xml = Nokogiri::XML(" foo bar ") parses an xml...

sudo gem install gettext --no-ri --no-rdoc sudo gem install fast_gettext --no-ri --no-rdoc script/plugin install git://...

See the lemonade descriptions. Unfortunately, the gem has a few problems: it does not work with Sass2...

install apache sudo apt-get install ruby1.8-dev sudo gem install passenger sudo passenger-install-apache2-module follow the instructions

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')