travisonrails.com

You set a flash message and it shows up as it should. However, it is displayed again the next time...

linux.die.net

Reading a URL via GET: curl http://example.com/ Defining any HTTP method (like POST or PUT): curl http://example.com/users/1...

The Basic Authentication header encodes username and password. Effectively, it's just Base64 plus a "Basic" prefix.

makandra dev

When installing RMagick you may get an error messages like this: Version 2.13.1: checking for Ruby version >= 1.8.5... yes

By default, Opera 11 hides any passed params and the URL's protocol until you focus the address bar.

makandra dev
github.com

Artifice allows you to replace the Net::HTTP subsystem of Ruby with an equivalent that routes all requests to a...

makandra dev

Within an event handler, there are multiple methods to cancel event propagation, each with different semantics. event.preventDefault() Only prevents the...

makandra dev

The information in this card is only relevant for Rails 2.3-era apps. This note gives a quick introduction into...

Specify these gem versions in your Gemfile: gem 'cucumber', '~> 1.3.0' gem 'cucumber-rails', '= 0.3.2' # max version for Rails 2

pluginaweek.org

Now allows to list transition paths from and to arbitrary states.

Add deprecation warnings and their solution or link to available solutions. Global access to Rake DSL methods is deprecated. Please...

If in your application your users pass along params that result in filenames, like invoices/generated?number=123. This could be...

Pie sometimes does not properly redraw elements upon changes. This often happens when the change comes from somewhere further up...

When working with large Sass files you will notice that the first request after a change to a Sass file...

When you click a link or a press a button on a Selenium-controlled browser, the call will return control...

Note: For PostgreSQL you should use advisory locks. For MySQL we still recommend the solution in this card.

Have a backup. Stop MySQL: sudo service mysql stop Move (or copy) your mysql directory. If you want /mnt/mysql to...

blogs.msdn.com

What are Google’s plans for turning WebM into a genuinely open standard, one that is based on consensus like...

When you use the send_file method to send a local file to the browser, you can save resources on...

This card describes a Cucumber step that lets you say: When I perform basic authentication as "username/password" and I visit...

In case https://www.rubydoc.info/ is to slow or offline, you can also read a gem documentation offline. Start a server...

opensoul.org

I love ETags, but there’s something that annoys me: most implementations revolve around pulling a record out of a...

Find-as-you-type boxes are usually built by observing changes in a text field, and querying the server via...

When you are using Apache for development, it still accepts connections from everyone in the same network as you.