Asset pipeline for Rails 2
Rails 2.3 can use the Rails 3.1 asset pipeline through a backport for managing and serving static assets.
Request limit of graph.facebook.com
Facebook API access is limited to 600 requests per 600 seconds; polling more often can return empty or malformed responses.
PhoneGap Build
Cloud compilation turns web apps into app-store ready builds for iOS, Android, Windows Phone, BlackBerry and more without changing your HTML, CSS or JavaScript workflow.
Drag'n'drop in trees: I went to town
Nested drag-and-drop for reorderable trees is hard when items can be leaves or containers; precise drop targets need custom JavaScript, CSS, and testing support.
Nice way to set data attributes when creating elements with Rails helpers
link_to and content_tag accept a :data hash for HTML5 data attributes in Rails 3, simplifying data-foo and data-bam output.
How to enable MySQL query logging
MySQL can record every received query for debugging at the cost of performance. Enabling the general query log helps inspect database activity on non-production systems.
jQuery.cssHooks – jQuery API
Custom $.cssHooks normalize browser-specific CSS properties and extend .css() and .animate() handling for inconsistent style values.
Updated: Capybara: Check that a page element is hidden via CSS
Hidden-element checks in Capybara can fail in Selenium when visibility is inferred too loosely. A JavaScript-based step works across Selenium, jQuery, Prototype, and Rack::Test.
Update Skype 4.x to at least 4.0.0.8
A Skype bug could send messages to the wrong recipients, including people outside your contacts. Upgrade to a fixed version immediately.
Updated: Check whether an element is visible or hidden with Javascript
Determining whether an element is truly visible in the browser can differ across JavaScript libraries; jQuery and Prototype use different visibility rules.
RubyMine: Using pinned tabs will increase your productivity
Pinned editor tabs keep important files visible in RubyMine while temporary search results can be closed without losing context.
Click on a piece of text in Cucumber / Capyabra
Clicking arbitrary page text can target any HTML element with a JavaScript handler, not just links or buttons, in Selenium features.
Speed up large Cucumber test suites
Large Cucumber suites can become slow as they grow; deferring garbage collection during scenarios can noticeably reduce overall execution time.
New cards feature: Personal RSS feed that includes public and private cards
Account profiles now provide a personal RSS feed with the newest public and private cards across all decks.
New cards feature: Explicit language declaration for syntax highlighting
Short code snippets can be misclassified by automatic syntax highlighting; explicitly declaring the language or using text avoids wrong highlighting or disables it.
Bundler: Fatal error and 'no such file to load -- net/https'
Bundler can fail on fresh Ubuntu installs with no such file to load -- net/https when Ruby lacks OpenSSL bindings, blocking gem downloads.
When overriding #method_missing, remember to override #respond_to_missing? as well
Dynamic Ruby methods can return false negatives with respond_to?, breaking gems and method lookups unless respond_to_missing? matches method_missing.
How to: Limit or disable textarea resizing in Chrome and Firefox
Textarea resizing in Chrome, Safari, and Firefox can disrupt layouts; limiting maximum width and height keeps the box controlled while still allowing optional user resizing.
Cucumber: Calling multiple steps from a step definition
Reusable Gherkin steps can be chained inside a new step definition with steps or step, but steps only processes lines starting with Gherkin keywords.
Install rabbitmq plugins (e.g. management plugin) on Ubuntu 12.04
RabbitMQ plugins on Ubuntu 12.04 require the full rabbitmq-plugins path because the binary is not in the default PATH.
Run specific version of bundler
Run an older Bundler release for compatibility when Rails or another project is pinned to a specific gem version.
Rails 3.1 gives you free down migrations
Rails 3.1 lets a single change migration run forward and backward automatically, while irreversible updates are skipped during rollback.
Setup your terminal to not scroll when there is new output
Stop the terminal from jumping back to the bottom when new output appears, so you can inspect logs or test failures without losing your place.
Ruby 1.8.7-p370 released
Final bugfix release for Ruby 1.8.7, with another year of security fixes before patches end.