makandra dev
brunildo.org

The pages listed here contain tests and experiments about features, possibilities, browsers’ bugs concerning CSS. That is, over 200 experiments...

developer.mozilla.org

You can easily have a JavaScript hash/object that returns a default value for unset keys/properties -- as long as you need...

If the application under test makes sound, you probably want to disable this during integration testing. You can use the...

Web technology is a broad field and you cannot be an expert in all aspects. However, it is useful to...

Just like we use gems on the server, we use third party JavaScript libraries in the browser. These typically provide...

We generally use multiple application servers (at least two) and you have to search on all of them if you...

Advanced cucumber features Learn about the following cucumber features: Doc Strings ("multiline strings") Tables Tags Before/after hooks Background Scenario outlines...

stackoverflow.com

This error message may occur when rspec gets loaded by rake, e.g. when you migrate the test database. NoMethodError: undefined...

makandra dev
github.com

Reminder of what you can do with Geordi. Note: If you alias Geordi to something short like g, running commands...

Sometimes huge refactorings or refactoring of core concepts of your application are necessary for being able to meet new requirements...

If you get an error like this for a puppet mount: $ > puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin...

Exercise 1: XML On the start page of your Movie DB, show the title of a random movie that is...

Adopting legacy Rails apps Talk to your mentor about how we're approaching applications that are either old or abandoned...

Like you know from "How to tell ActiveRecord how to preload associations (either JOINs or separate queries)", you can tell...

TL;DR Debugging problems with javascript errors in cucumber tests is sometimes easier in the browser. Run the test, stop...

github.com

When running tests via parallel_tests, you may encounter an error: cannot load such file -- parallel_tests/gherkin/runtime_logger Error creating formatter...

makandra dev
web.archive.org

When testing your command line application with Aruba, you might need to stub out other binaries you don't want...

When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...

clipboardjs.com

We used zeroclipboard.js in some of our projects but now we switched to clipboard.js because it does not rely on...

api.rubyonrails.org

Instantiating ActiveRecord objects comes expensive. To speed up things, you can choose a more direct way to talk to your...

api.rubyonrails.org

When working with custom transactions and use ActiveRecord::Rollback you may encounter unexpected behaviour if you try to roll back...

github.com

This might be relevant for us since we're often managing customer documents in our apps. I played around with...

We often use VCR to stub external APIs. Unfortunately VCR can have problems matching requests to recorded cassettes, and these...

linuxquestions.org

Run dconf-editor (as your user) Go to org / mate / panel / objects / clock / prefs Change the key format to custom...