The facebook API allows up to 600 requests per 600 seconds. If you poll more often, you'll get no...

makandra dev
build.phonegap.com

Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...

When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...

For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists

api.jquery.com

The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...

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

The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...

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

Consider this Sass: .comment width: 320px; height: 240px; Any textarea with the comment class will be sized 320 by 240...

When refactoring a sequence of steps to a new, more descriptive step, you can use the steps method and Ruby...

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

If you want to install rabbitmq plugins on Ubuntu 12.04 you can do this with: /usr/lib/rabbitmq/lib/rabbitmq_server-2.7.1/sbin/rabbitmq-plugins This binary is not...

makandra dev

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

In Rails 3.1+, instead of defining a separate up and down method you can define a single method change:

makandra dev
ruby-lang.org

It's the last bugfix release. We will get another year of security fixes, then no more patches.

makandracards.com

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

makandra dev

has_defaults is now a gem, no longer a plugin. The plugin version no longer exists. Note that plugins are...

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

ActiveSupport::Memoizable will be removed from Rails and has a lot of strange caveats that will ruin your day.

If you need the initial user which you used to login to your Linux system or the time when you...

stackoverflow.com

Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.

makandra dev

Copy and paste at will, they're free! German quotation marks: „ “ (Ubuntu-Hotkey: AltGr+v and AltGr+b) English quotation...

Take care when using rescue_from to rescue multiple errors. The following will not work, because later rescue_from statements...