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

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

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

makandra dev

This is about converting Haml to ERB and not the other way round which you probably want! This process can...

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

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

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

Append this to your ~/.bashrc: export PS1='\[\033[01;32m\]\h\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 "(%s...

makandra dev

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

You are getting when connecting via SSH or deploying with Capistrano (which uses SSH): Too many authentication failures for username...

agileweboperations.com

I was setting up a Subversion repository one year ago. Of course, I also wanted to have regular backups of...

dehora.net

PUT means update the resource with this entity, which tends means "overwrite". Now think for a moment about how that...

amundsen.com

i keep looking for ways to help people 'get' REST. not URLs or HTTP Methods; but REST itself - in a...

pocketinformant.com

Pocket Informant for the iPhone doesn't just simply let you view your daily events but lets you really work...

railslab.newrelic.com

Learn everything you need to know about Scaling your Rails app through 13 informative Screencasts produced by Gregg Pollack with...

github.com

theman is a super simple "framework" that uses god/rufus-scheduler to create long running workers that do things at certain times...

blog.smartlogicsolutions.com

I just finished reviewing Rails 2.3 Nested Object Forms. While a very nice and “magical” feature, I’ve got to...

theexciter.com

The rubyforge gems model may not be perfect, but damnit people, when there’s a gem update I know that...

freelancefolder.com

In this article we’ve listed 7 fresh and simple tools for cross-browser compatibility testing, tools that actually make...

pathf.com

There are many wonderful things about Rails and the Rails ecosystem. A clean, well-lighted path for keeping all your...

heroku.com

Heroku's architecture enables deployment with nothing but Git. Deployment is fast, simple, and just works – all you do is...