Fix Ensure your step definition cannot generate invalid selectors and instead prints better error messages. Adding field.should be_present might help, Note This error may be caused when...
Keep in mind Swap is not evil by definition. Some bytes per process beeing put to Swap will not have that much of performance influence. If you want the...
Look here for informations how you can show the MySQL default character set. At first you need the Amazon RDS...
...be quite useful to quickly find the JavaScript that is responsible for some (unexpected) behavior. You can use DOM Breakpoints for debugging subtree modifications, attribute modifications or node removal.
We use CarrierWave in many of our projects to store and serve files of various formats - mostly images. A common...
There is a new card about how to do this with the new AWS Command Line Interface
This can happen with a very simple model: class Note has_many :attachments end Everything looks normal: Note.all.to_a.size # => 8 Note.all.ids.size...
Promises are the new way™ to express "Do this, and once you're done, do that". In contrast to callbacks...
If you want to know your public key's fingerprint, do this: ssh-keygen -lf ~/.ssh/my.key.pub This may be necessary...
When you use the :as option to map a power to a controller method you can now override the generated...
Sometimes you need complex expectations on method arguments like this SomeApi.should_receive(:find).with(:query => '*foo*', :sort => 'timestamp ASC', :limit...
Suppose you want to implement a publish/subscribe pattern in your Frontend application to react to data changes and events. First...
When writing Rails migrations to convert a string column to an integer you'd usually say: change_column :table_name...
When terragrunt is relaying information to input variables it's happening via environment variables. Depending on the size of the...
There was an issue with makandra_sidekiq < 0.2 concerning the stopping of Sidekiq. Sidekiq < 6 has two finishing timeouts: one...
When you make a simple TCP connection to a remote server (like telnet), your client won't normally notice when...
...you're using Rails 4 (which brings String#indent in ActiveSupport), you'll be best of defining it yourself. This card has it for you. Gems that define String#indent...
We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...
...as separate commits or branches. After the review with mentor you can keep the best version and delete the others. Asking for help You're working in a team of...
MariaDB (and MySQL) is released in different versions with different behaviors. For backwards compatibility this can be managed with the sql_mode option. Following you can find behavior differences which...
Many of our developers love to use the "awesome" window manager on Linux. However, RubyMine dialogs occasionally defocus while typing...
...no longer executed. Both are caused by the return inside of the block. This behavior is by design, just so that you can break out of a block -- and you...
...buffer { return block.call(*args) } end end This can come bite you with extremely unexpected behavior of your application, as this will mean a slightly different result of your capture:
...MKV container, H.264 codec, "0" constant rate factor and "veryslow" preset results in the best video quality. Peek Note The original peek project has been deprecated. If you are experiencing...
...feature-set to the original peek. If you don't insist on high the best video and you don't need audio recording, you could also use Peek, which is...
When you have files in your .gitignore they won't be considered for changes, but still you might want to...