...You can call a number of methods on such a node, e. g. in order to click it or to make a selection on its descendants. These methods should be...
...ran the Ironman of drag'n'drop implementations: Dragging in nested lists User-definable order of items Complicated item elements with super-custom CSS and other Javascript functionality
In order to request a SSL certificate from any dealer, you usually need a CSR certificate. As both the CSR as well as key are created in this step, make...
Undeterministically I got a nil error on saving the object caused by the random order of hash elements of the params hash. class Feedback belongs_to :user def role=(value...
...common use case of CarrierWave's DSL is to "process" the original file in order to create multiple "versions", for example different resolutions of the same image.
Sometimes you add Paperclip image styles, sometimes you remove some. In order to only keep the files you actually need, you should remove stale Paperclip styles from your server.
...which might be incompatible with the version of therubyracer you're currently building. In order to fix that, remove all versions ob 'libv8': gem uninstall libv8 Select gem to uninstall...
...Firefox: Right-click on the site, open 'Web Developer -> Cookies -> View cookie information) In order to see which cookies are really necessary, delete all cookies, reload the page, log into...
The following command will ignore any comments or environment variables, and order rows by their hour (k2) and minute (k1). Note how numbers are ordered naturally...
end end You can also combine and_yield with and_return. Mind the order: item = stub('a block') subject.should_receive(:something).and_yield(item).and_return 'result' Yielding multiple...
...this behaivour yet, but I think it has something to do with the start order of the nova services. (When nova-network isn't present at nova-compute startup, no...
jquery.simulate.js jquery.simulate.ext.js jquery.simulate.drag-n-drop.js from jquery.simulate.ext above Require those files in that order in a separate JS file that is only loaded for tests. Then just do something...
...lock to a file, and if it can do so running a command. In order not to wait but simply give up when the file is locked, you can add...
...MySQL connection. Apparently this happens when there is a timeout during query execution. In order to fix this you can reconnect to your db. Therefore either add reconnect: true to...
In order to keep the controllers directory tidy, we recently started to namespace controllers. With the :controller option you can tell Rails which controller to use for a path or...
do_something_else and do_something are executed before validation in exactly this order ResourceController - here you have to be careful class PostController include ResourceController::Controller does 'post_controller/behavior...
You can configure a Ubuntu system as a gateway in order to share it's internet connection (maybe via WLAN or tethering) with other computers on the network.
...are not the same, the browser shows scrollbars. var hasScrollbars = element.scrollHeight != element.offsetHeight; So, in order to say something like... Then the element "#dialog_content" should not have scrollbars
...object like a hash (i.e. JSONObject) or array. How to fix it So, in order to fix that, use a valid object to build JSON from, e.g. an array:
...of a single process might be removed from memory and put into Swap. In order to find out which processes remain within Swap, run this: sudo grep VmSwap /proc/*/status...
...should not be checked inside the 1. iframe And I should see in this order within the breadcrumb inside the 1. iframe: """ Files Alpha """ However, if you have to perform...
...the radio button "sample.pdf" should not be checked And I should see in this order within the breadcrumb: """ Files Alpha """ When the iframe is removed from the DOM the driver...
...remote server. Now the server is temporarily not available and raises an exception. In order to re-send the request you could use the following snippet: def remote_request
...with that name (a virtual attribute terms_with_typo will be defined automatically). In order to be safe, a Cucumber scenario should ensure that the box needs to be checked...
...you do not have a reference to the object you want to inspect. In order to record a macro you simply follow the path Edit > Macros > Start Macro Recording.