Since late 2015, all major browsers (still excluding Firefox) support pointing device media queries. These can be used to distinguish...
Around will not happen until after a feature's Background has been processed. Use Before and After to avoid that...
Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.
You can use JavaScript to get or set cookie values on the client. Using the vanilla JavaScript API
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...
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...
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: