The step we used in the past (Then "foo" should not be visibile) doesn't reliably work in Selenium features...
I ran into a situation in which I received the yarn integrity check warning when starting the rails console even...
Running Cucumber tests while your cucumber.yml is 100% valid may still produce the following error. cucumber.yml was found, but could...
There are several ways to merge two (or more) PDF files to a single file using the Linux command line...
Converting string characters to or from their integer value (7-bit ASCII value or UTF-8 codepoint) can be done...
Unfortunately, Capybara does not offer a switch to disable cookies in your test browser. However, you can work around that...
...error" message: *** [err :: example.com] There are no Phusion Passenger-served applications running whose paths begin with '/var/www/example.com'. *** [err :: example.com] This is just because there were no running passenger process for...
Git has two kind of tags: annotated lightweight Annotated tags are stored as full objects in the Git database. They...
...Short explanation: asset_host is used for links to stylesheets and javascripts asset_host belongs to ActionController::Base -- changes are persistent and will not be reset after a request
...For this reason it is recommended to use a dev server during development. This behavior can be disabled by the compile: true setting in config/webpacker.yml. Note that this can also...
You are not using javascript tests The file is served from a public folder (not via controller) Problem description...
...searched for executables, CDPATH contains the list of directories that are available for cd. Besides the current directory (.), you can add others to that. The trick is to add a...
...directory, always use a prefix for your bookmarks. @ works well. This has also has benefits for the usage with autocompletion. Example usage: >cd Projects/makandra-cards/ ./Projects/makandra-cards/ >mark @cards >cd ~ >pwd
Today in computer: In Coffeescript, on and yes are aliases for true. off and no are aliases for false.
If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...
I needed to make sure that an element is visible and not overshadowed by an element that has a higher...
Amazon Elastic Transcoder is video transcoding in the cloud. It is designed to be a highly scalable, easy to use...
Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...
...your session in a previous request. Working around the issue You can avoid that behavior by stubbing the controller's session and querying that stub: persisted_session = ActionController::TestSession.new controller.stub...
If you need to enable NewRelic monitoring on certain machines within the same Rails environment, a simple solution is to...
...caused by the random order of hash elements of the params hash. class Feedback belongs_to :user def role=(value) @role = value self.email = find_email_by_name(user.name) end
...work on a large application where a lot of code depends on the indeterministic behavior above, and it would be too much work to refactor the whole app for a...
Xfce gives you a million options to configure your panels. Together with Xfce's sometimes arcane configuration UI, this can...
jQuery's removeClass removes the given class string from an element collection. If you want to remove multiple/unknown classes matching...
...JSON generation from a large, nested Ruby hash down from 200ms to 2ms. Its behavior differs from the default JSON.dump or to_json behavior in that it serializes Ruby symbols...
There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...