This will make MySQL log all received queries so you can see for yourself what happens on the database level...
I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...
Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...
In moderately complex authorization scenarios you will often find yourself writing a map like this: class NotesController < ApplicationController power :notes...
CSS is a lot easier to write and read than clumsy XPath expressions. So when you need to use XPath...
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...
Promises unified window for all chat conversations, better call quality. Upgrade seems to work fine. If you installed your old...
If you are using VNC to run Selenium tests, it may be hard to see what's going on since...
Geoffrey Grosenbach has created Gruff for easily plotting graphs. It is written in pure Ruby and integrates with Rails applications...
MySQL version 5.1 comes with an alternative, faster InnoDB implementation (called "InnoDB Plugin"). Switching is easy: Stop your mysqld with...
When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...
Say you want to vertically align a div box inside a div container. This is how you do it:
If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...
To force a check on your next reboot (here for your root partition), simply: touch /forcefsck To manually do this...
An association defined with has_many :through will return the same record multiple times if multiple join models for the...
Geordi, our collection of command line tools, has been extended by another command deploy-to-production. This script encapsulates the...
How to get a backtrace from a running Ruby process: Ruby 2.6 # First, find out the PID of your Ruby...
When talking to your MySQL server via a mysql shell, you can terminate queries by ; or \G -- the latter gives...
Usually you don't need to, but when you want to see which queries your MySQL server currently needs to...
Capybara has a global option (Capybara.ignore_hidden_elements) that determines whether Capybara sees or ignores hidden elements.
I followed this nice guide Connecting to MSSQL with Ruby on Ubuntu - lambie.org until I ran in the following errors...
This is one possibility to do this. There are other and maybe even better ways to do this.
Install libreadline: sudo apt-get install libreadline-dev Reinstall the ruby and tell rvm where to find readline