github.com

Jonas Nicklas, the author of Carrierwave and Capybara, has released Refile, a gem for handling file uploads in Rails. It...

Here is a Javascript function reloadUsers() that fetches a HTML snippet from the server using AJAX and replaces the current...

When running Selenium features with parallel_tests, some browser-server interaction might take longer than usual and the impatient Capybara...

github.com

Capybara-screenshot can automatically save screenshots and the HTML for failed Capybara tests in Cucumber, RSpec or Minitest. Requires Capybara...

makandra dev
api.rubyonrails.org

Rails includes a way to see what an e-mail will look like. Integration to RSpec All you need to...

blog.phusion.nl

Interesting approach to caching responses directly in the HTTP server, based on the value of an individual cookie.

The Angular 1.2 way: # By default, angular returns undefined for invalid attributes which removes # the value from the form field...

askubuntu.com

Adobe no longer supports their PDF reader on Linux and the official page does not offer it for download. \

The Angular ngSrc directive serves to properly set an image src via Angular. As anything in Angular, it updates the...

If you get one of this errors: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: ( ): found...

For our production servers we use Passenger as a Ruby application server. While it is possible to use Passenger for...

Modern browsers natively suppport file pickers that allow the user to choose multiple files at once. To activate this feature...

In Thunderbird, you can set custom font faces and sizes for reading plain-text e-mails. However, Thunderbird sometimes "randomly...

In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...

makandra dev
developers.facebook.com

For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an...

makandra dev
github.com

PDFKit converts a web page to a PDF document. It uses a Webkit engine under the hood...

Microsoft Exchange service administrators can enable Exchange Web Services (EWS) which is a rather accessible XML API for interacting with...

dev.mysql.com

Directly from the MySql docs: There are three likely causes for this error message. Usually it indicates network connectivity trouble...

When making cross-domain AJAX requests with jQuery (using CORS or xdomain or similar), you will run into issues with...

makandra dev
linux.die.net

When connecting to multiple (i.e. > 4) servers to dive into logfiles or do security updates, terminator is what you want...

If your requests blow up in Ruby or CURL, the server you're connecting to might only support requests with...

blog.salsify.com

An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...

SimpleForm is a great approach to simplifying your forms, and it comes with lots of well-defined input types. However...

toptal.com

This is a great tutorials for beginners and intermediate AngularJS developers. It covers a lot of ground, including routing and...