I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...

makandra dev

Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...

stackoverflow.com

When you use method_missing to have an object return something on a method call, always make sure you also...

Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...

makandra dev

You can specify the version of bundler to execute a command (most often you need an older version of bundler...

When you are scrolling up to investigate a test failure it is super annoying when the terminal scrolls back down...

makandracards.com

Updated the card with our current best practice (shared app code and specs via symlinks).

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