makandra dev
github.com

Stringex is a gem that offers some extensions to Ruby's String class. Ruby 1.9 compatible, and knows its way...

makandra dev
github.com

UnicodeUtils implements Unicode algorithms for case conversion, normalization, text segmentation and more in pure Ruby code.

RVM needs to be updated regularly to know of Ruby versions released since installation (or last update).

If bundle install shows the following message for you ... Error Bundler::HTTPError during request to dependency API ... upgrade to Bundler...

In our continued quest to extract proven code snippets from makandropedia into tested and upgradable gems, we have released Edge...

The Edge Rider gem gives your relations a method #traverse_association which returns a new relation by "pivoting" around a...

TLDR: Ruby class variables (@@foo) are dangerous in many ways. You should avoid them at all cost. See bottom of...

This works well in the simplified case, when your link disappears after it was clicked. Let link_to_remote behave...

Ruby has two different ways to match the start and the end of a text: ^ (Start of line) and $ (End...

kalzumeus.com

January has been a very bad month for Ruby on Rails developers, with two high-severity security bugs permitting remote...

Calling bundle update GEMNAME will update a lot more gems than you think. E.g. when you do this...

Calling bundle update (without arguments) updates all your gems at once. Given that many gems don't care about stable...

If you worked with a system Ruby before switching to RVM, this system Ruby will be in your way when...

ruby-doc.org

If you use Tempfile and pass your own filename containing an extension, it will just be consumed by the Tempfile...

Use Socket.gethostname. So for a machine whose hostname is "happycat", it will look like this: >> Socket.gethostname => "happycat" That should work...

Upgrade the offending gem. If you cannot or don't want to upgrade, lock rake to 0.8.7.

While you are probably using will_paginate to paginate ActiveRecord scopes, it can actually paginate plain Ruby arrays. The resulting...

blog.remarkablelabs.com

With the impending release of Ruby on Rails 4, it looks like a lot of developers will be updating their...

makandra dev

Do this before you install the gem: sudo apt-get install libffi-dev

elmcitycraftworks.org

I’ve worked on huge applications in Ruby and Rails before. I very much want to believe in DCI, but...

makandra dev
github.com

Axlsx is an incredible gem to generate "Office Open XML" spreadsheet files (XLSX). Does not break on large spreadsheets and...

makandra dev
relishapp.com

You can define methods in any example group using Ruby's def keyword or define_method method. These helper methods...

cirw.in

If you ever wondered why a constant wasn't defined or wasn't available where you expected it to be...

github.com

Great solution in a GitHub issue.