.rvmrc deprecated in favor of .ruby-version and .ruby-gemset
.rvmrc is obsolete for Ruby version and gemset setup; .ruby-version and .ruby-gemset work with other version managers and avoid patch-level clutter.
redshift
Night-time screen glare can strain the eyes; redshift adjusts monitor color temperature to match location and local time.
"cannot load such file -- nokogiri/nokogiri" (or any other Gem with native extensions on rvm and Ruby >= 2)
Native extensions can be installed into broken paths on RVM with Ruby 2, causing cannot load such file -- nokogiri/nokogiri after gem install or Bundler.
Outlook deletes iCalendar ICS eMails and moves them to trash folder
Outlook can auto-delete ICS emails and mark calendar items tentative when the event organizer matches the recipient. Using a different organizer address avoids the deletion.
Capybara: Trigger requests with custom request method
Capybara request helpers can send non-GET actions for destructive tests, letting RackTest and Selenium submit DELETE requests instead of only visiting pages.
Use bundle open to open a gem's code in your $EDITOR
Open a bundled gem’s source directly in your editor instead of hunting through installed files; bundle open launches the gem code from Bundler.
Raise when there's a I18n translation missing
translate! and t! raise I18n::MissingTranslationData on missing translations instead of returning placeholder text. A custom exception handler can make I18n raise globally.
Parallel gem installing using Bundler
Bundler 1.4.0 can install gems in parallel, reducing bundle install time on large dependency sets.
Consul 0.10.0 allows multiple power mappings for nested resources
Nested resources in Consul can use separate power checks and scope mappings for parent and child records, including context-based loading.
Getting rid of space between inline-block elements
Whitespace between inline-block elements renders as an unwanted gap, causing alignment and hairline issues. Common workarounds include removing the whitespace, using floats, negative margins, or font-size: 0 on the container.
Font Awesome: List of Unicode glyphs and HTML entities
Copyable FontAwesome glyphs and HTML entities let icons be inserted by typing characters instead of CSS classes, with the container styled using font-family: FontAwesome.
Nested controller routes (Rails 2 and 3)
Namespaced controllers and nested resources can align routes, controller classes, and view paths in Rails 2 and 3, reducing controller-directory clutter.
Rails: Output helpers for migrations
Migration output can report progress while batch-updating records with announce and say_with_time in Rails 3.1+.
Font sizing with rem - Snook.ca
rem units size text relative to the root html element, avoiding the inheritance quirks of em while staying supported in modern browsers and IE9+.
Simple Naming for Modular CSS Class Names ··· Nico Hagenburger
A concise BEM naming approach for modular CSS reduces ambiguity and keeps class names short. Practical rules help structure scalable stylesheets.
Git & Mac: Working with Unicode filenames
Unicode filenames on macOS can appear untracked in Git because the filesystem normalizes names differently; core.precomposeunicode and a newer Git version help prevent pathspec errors.
The "private" modifier does not apply to class methods or define_method
Ruby private does not make self methods or define_method methods private. Use private_class_method for class methods and private :foo for dynamic methods.
Firefox file upload breaks after a few megabytes
Firefox uploads stop working after a few megabytes, likely due to a browser issue. Using another browser avoids the failure as a temporary workaround.
RSpec: Where to put shared example groups
Shared example groups need a clear home in RSpec, since the default rspec-rails layout does not provide one. Organizing them in dedicated shared_examples folders keeps them reusable and easy to load.
Render a view from a model in Rails
Render Rails views outside a request for PDFs, email attachments, or background reports using ApplicationController.render or render_to_string.
RubyLTS
Long-term support fork of Ruby 1.8 that keeps receiving security updates for legacy systems.
Remote Debugging on Android - Chrome DevTools
Chrome DevTools can inspect and debug pages running on a mobile Android device from a desktop machine, preserving familiar tooling for on-device analysis.
angular/angularjs-batarang
Chrome WebInspector extension for debugging AngularJS apps and tracking down performance bottlenecks.