blog.codeclimate.com

Rails’ reputation as a relatively secure Web framework is well deserved. Out-of-the-box, there is protection against many...

The User-Agent HTTP header identifies the client and is sent by "regular" browsers, search engine crawlers, or other web...

When a controller action redirects to an external URL (like http://somehost.com/some/path) you will find that this is hard...

Unfortunately, Capybara does not offer a switch to disable cookies in your test browser. However, you can work around that...

To set a cookie in your test browser for cucumber tests, you need to know which driver you are using...

Rails flashes (FlashHash) track a list of used keys, which is not respected when comparing flash hashes.

coding.smashingmagazine.com

Smashing Magazine lists some handy tricks for print style sheets, all with CSS: Expand External Links For Print

Given you use Capistrano together with bundler to automatically install your gems when deploying. I recently had the problem that...

tl;dr: Do not use merge! for session hashes. Use update instead. Outline Let's assume you're modifying the...

If bundle install shows the following message for you ... Error Bundler::HTTPError during request to dependency API ... upgrade to Bundler...

This works well in the simplified case, when your link disappears after it was clicked. Let link_to_remote behave...

w3.org

You probably know that you can use CSS selectors to match against elements and their attributes, such as:

You can use the content CSS attribute to set an element's content -- which is especially useful for the :before...

kalzumeus.com

January has been a very bad month for Ruby on Rails developers, with two high-severity security bugs permitting remote...

makandra dev
aws.amazon.com

Amazon Elastic Transcoder is video transcoding in the cloud. It is designed to be a highly scalable, easy to use...

Consul 0.6.1+ gives your Power class a number of static methods that behave neutrally in case Power.current is nil. This...

validates_uniqueness_of is not sufficient to ensure the uniqueness of a value. The reason for this is that in...

developers.google.com

The attached article outlines considerations when choosing client-side vs. server-side implementations of the Google Geocoding APIs (geocoder, directions...

blog.phusion.nl

The Out-of-Band Work feature allows one to perform arbitrary long-running work outside the request/response cycle without blocking...

Apache HTTP server benchmarking tool (ab) is a nice tool to test performance on sites delivered by HTTP. If the...

ruby-doc.org

If you use Tempfile and pass your own filename containing an extension, it will just be consumed by the Tempfile...

Use Socket.gethostname. So for a machine whose hostname is "happycat", it will look like this: >> Socket.gethostname => "happycat" That should work...

Microsoft Office pre-fetches hyperlinks using an internal DLL (which doesn't know about your cookies), follows all redirects and...

When you have a Pull Request on GitHub that includes commits from another Pull Request, you will still see them...