If you use rails_admin, your specs pass with the rspec binary, but not using rake spec (or rake parallel...

makandra dev

RSpec's be_false behaves unexpectedly: nil.should be_false # passes, as the expectation returns true If you want to check...

makandra dev

Ruby 1.9.2 is very slow when loading files, especially starting Rails servers or running specs takes forever.

Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...

makandra dev
robots.thoughtbot.com

The Rails community has been abuzz with object-oriented programming, SOLID principles, laws, design patterns, and other principles, practices, and...

Recent rails security updates have shown that people make incorrect assumptions about the possible contents of the params hash.

jsfiddle.net

Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!

Why string sorting sucks in vanilla Ruby Ruby's sort method doesn't work as expected with special characters (like...

In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...

When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...

html5rocks.com

Some progress was made by browsers on implementing CSS filters like blur, greyscale or some other effects. You might already...

If you are using VNC to run Selenium tests, it may be hard to see what's going on since...

I had trouble serving an MP4 video to my iPad. Although the video complied with all the specs (H.264 codec...

makandra dev
github.com

Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...

Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...

If your project uses another version than your default Ruby, RubyMine will give you incorrect inspections, for example.\

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

Note: You might also want to check out BoxCryptor which does pretty much the same, and is supported across many...

makandra dev

Capistrano recently had some API changes that can results in deploys not working when running with old deploy.rb files.

When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...

objectmentor.com

Slides presenting ways to integrate the ideas of Aspect-Oriented Programming in Ruby. Outline Why Aspect-Oriented Programming?

stackoverflow.com

Though the W3C even gives it as an example, no browser actually supports this CSS: img:before { content: "something"; }

Sometimes you need a special version of chrome because it has some features you need for testing, like in this...

You can set the resolution and user agent used in selenium tests with chrome with the method described in this...