Search everywhere in RubyMine
Find files, classes, actions, and settings from a single dialog in RubyMine using Search everywhere, opened with Shift twice.
Font Combiner
Font Combiner modifies TTF and OTF fonts by importing glyphs as vector shapes and regenerating them with alternate metrics, hinting, kerning, and spacing.
Fix Rubygems binary error: undefined method `activate_bin_path' for Gem:Module (NoMethodError)
Rubygems version mismatches can break generated executables with undefined method activate_bin_path after downgrades. Reinstalling gem executables with gem pristine --all or reinstalling RubyGems and Bundler restores working binstubs.
Net::SSH::Exception: could not settle on encryption_client algorithm
Old net-ssh versions can fail to connect when servers disable weak ciphers; pinning net-ssh or updating SSH client support restores deployment access.
Passenger 5/6 requires a config.ru file to run Rails 2.3 projects
Rails 2.3 apps need a config.ru file for Passenger 5+; without it, nginx or Apache may return 403 errors because the app is not detected.
Bundler: Gemfile.lock is corrupt & gems are missing from the DEPENDENCIES section
Older Bundler versions can reject legacy Gemfile.lock files as corrupt when dependency metadata changes; adding missing gems or downgrading Bundler restores installs.
Angular: Quick and easy animation on changed binding value
Animate a details container when a bound value changes by using ngClass and ngAnimate to flash it with a quick hide-and-fade effect.
A collection of graph and diagram tools
Tools for plotting graphs and diagrams in Ruby, plus browser-based and offline options for visualizing flows, state machines, and scientific data.
Howto use ActiveRecord preload with plain SQL inner joins
Paginated rides can be ordered by translated departure and arrival names without N+1 queries by combining custom SQL INNER JOINs with preload.
A case for different breakpoints
CSS breakpoints can be grouped by similar screen sizes instead of devices, keeping most screens between thresholds and reducing edge-case layouts.
Howto: Free disk space when /boot is full
/boot can fill up from old kernel images and initramfs files, blocking upgrades and updates. Removing unused kernels and shrinking initramfs frees space safely.
Awesome WM: workaround for gnome or mate panel stealing focus
Gnome and MATE panels can steal focus in Awesome WM 3.5 when switching desktops. A window rule and an autofocus.lua replacement prevent the panel from taking focus.
Fix external Displays switching not on when plugging notebook in docking station
External displays on a docking station may fail to activate or mirror the same layout; resetting them and reapplying xrandr settings can work around a kernel bug.
Giving a presentation with a dual screen layout on linux
Dual-screen presentations on Linux can keep speaker notes or a projector preview visible without cloning displays. x11vnc and a VNC viewer provide a local preview of the second screen.
How to fix: Bundler 1.13 breaks parallel_tests
Upgrading to Bundler 1.13.x can break parallel_tests with a LoadError when loading Gherkin formatters. Setting bundle config --local disable_exec_load true restores the old behavior.
Aruba: Stubbing binaries
Command-line tests with Aruba can accidentally run real external executables; Aruba Doubles provides stubs for those binaries when PATH is adjusted with Aruba's official API.
Hide a Rake task from the `rake -T` list
Rake tasks appear in rake -T only when they have descriptions; removing comments or whitelisting tasks keeps internal tasks out of the task list.
Ruby: Writing specs for (partially) memoized code
Memoized ActiveRecord values can stay stale in specs even after reload; re-finding the record or clearing memoization avoids false failures.
Subclassing module
Ruby module subclassing injects state and defines accessors when included, enabling trait-like macros and partial classes for cleaner model organization.
Angular with haml: Dynamic html classes
Haml mangles Angular 1 dynamic class attributes and can trigger [$parse:syntax] errors. Use ng-class or avoid Haml class interpolation.
How to monitor Sidekiq: A working example
Sidekiq monitoring needs a JSON status endpoint for queue sizes, worker activity, and recent failures. A cron-triggered heartbeat job and Redis timestamps let external checks detect stalled background processing.
Understanding AngularJS service types
AngularJS service kinds differ in configurability, injection style, and object shape; factories are usually the default choice, while providers support configuration and decorators extend existing services.
mceachen/closure_tree: Easily and efficiently make your ActiveRecord models support hierarchies
closure_tree adds hierarchical tree support to ActiveRecord models with efficient reads, pre-ordered trees, and safer concurrent updates than ancestry.
AngularJS: How to remove a watch
AngularJS -watch registrations can be removed after a condition is met, avoiding unnecessary change detection once a scoped value appears.