Rubymonk training Read the following Rubymonk articles: Ruby Primer: Ascent (archived copy) Metaprogramming Ruby (archived copy) Metaprogramming Ruby: Ascent (archived...

makandra dev

CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...

makandra dev
plugins.jetbrains.com

There are times when you have a chunk of text that you want to do something with, e.g. replace something...

rubyinside.com

It is a common misunderstanding that all [op]=-operators work the same way, but actually they don't. ||= and &&=

To find a hash key by it's value, i.e. reverse lookup, one can use Hash#key. It's available...

When your system is not running on English, you may sometimes want to run some applications and not use your...

Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...

So you have placed a breakpoint somewhere and now want to dig around, but not even inspecting variables is working...

makandra dev
github.com

The debugger gem does not seem to be properly working on Ruby 2. Use byebug instead! Byebug is a simple...

When you tell rbenv to install a Ruby it does not know about, you will get an error message.

RSpec 3.0 deprecates the :should way of writing specs for expecting things to happen. However, if you have tests you...

Use the following command to test if a server (in this example: makandra.com on port 443) uses Perfect Forward Secrecy...

Rbenv won't compile REE 2011.03 properly on Ubuntu 12.04, failing with an error in tcmalloc.cc. If you want to...

Sometimes you need to monitor a connection from your machine to a specific, single host or network in order to...

So you're switching to PostgreSQL from MySQL? Here is some help... General hints on PostgreSQL \? opens the command overview...

After running bundler / gem install I could not load nokogiri lately. It died with cannot load such file -- nokogiri/nokogiri.

stackoverflow.com

Access the Method object Dead simple: Get the method object and ask for its owner: "foo".method(:upcase) # => #

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...

The way MySQL's FULLTEXT tokenizer splits text into word tokens might not always be what you need. E.g. it...

As attachments to this card you will find a Cucumber feature and supplementing step definition that you can use to...

Sometimes you need to look at the filter chain in specs. You can do it like that on Rails 2...

makandra dev

The attached initializer gives your hashes a #deep_slice method that lets you recursively slice their contents by a given...

Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...

Embedding bitmap images within PDF sometimes results in large files because the bitmaps are not compressed. If you don't...