github.com

MongoMapper is a MongoDB adapter for Ruby. We've forked it so it works for Rails 2.3.x applications running...

apidock.com

Ruby 1.9 changed the default behavior of Module.const_defined? from what it was in Ruby 1.8 – this can be especially...

You either have an old version of Mocha and an edge version of Rails 3.2, or you have a new...

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

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

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

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

makandra dev

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

makandra dev
github.com

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

github.com

Great solution in a GitHub issue.

Our old solution for cronjobs, the "craken" plugin, is no longer maintained and does not work on Rails 3.2+.

navy 0.5.1+ gives empty navigation containers a CSS class .navy-empty which you can hide via .navy-navigation &.navy-empty...

For two years we've been using SearchableTrait which gives models the ability to process Googlesque queries like this: Contact.search...

progfu.com

I am talking about development speed. When your application starts growing and you start adding gems, it starts to take...

makandra dev
github.com

The gem author Jonas Nicklas highlights in a Google Groups post that the release is not backwards compatible to 1...

makandra dev

The very useful andand gem does not play very nice with Ruby's SimpleDelegator (or vice versa). This following will...

ebobby.org

A technique to vastly reduce the number of join model records that need to be stored in the database.

If you get a stacktrace complaining about uninitialized constant MysqlCompat::MysqlRes a system library update might broke your gem.

Rarely, you might want to rebuild all gems with native extensions, because they might be compiled against outdated system libraries...

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...