codepen.io

...One might argue that could also omit position: relative on .section, and place the before/after helpers using left: 0 or right: 0. However, you'd then need to know the...

...disappear again when moving the mouse pointer to the left or right. Hovering the before/after elements actually means hovering the element itself...

Don't you just hate to write Cucumber path helpers to be able to say this?

When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...

After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...

The non-breaking space is prepended to the second element because that one becomes floating. Since that would discard any whitespace between the two elements, we are adding the...

In Ruby on Rails, all objects have a useful blank? method. It returns true for nil but also for empty...

I experienced a lot of issues with google chrome that made it almost impossible to work with it. Here are...

If you're using the Capybara webdriver, steps sometimes fail because the browser hasn't finished loading the next page...

When you need to store structured data (like Ruby hashes) in a single database column with ActiveRecord, a simple way...

Note that this seems to affect only recent Rails 2 versions. You will not encounter this until you are writing...

jqueryui.com

UI sortable helps reordering items with drag 'n drop. It works quite fine. Proven configuration for sorting table rows

To upload a file via AJAX (e.g. from an ) you need to wrap your params in a FormData object.

...no guarantee the form submission has completed in Selenium before Ruby updates the record behind the scenes. In this case you might lose the update because the sign in process...

The Ace editor is a great enhancement when you want users to supply some kind of code (HTML, JavaScript, Ruby...

.desktop files define launchers for applications installed on your machine. They specify the command that will be executed when launched...

matically. Automatic loading is disabled when this option is specified, and all loading becomes explicit. Files under directories named "support" are always loaded first. [...] $ cucumber -r features

json is part of the standard library of Ruby and deals with JSON, obviously. As you know, JSON is the...

Ever seen this error when using Graticule? Numerical argument out of domain - acos Similarly to the to_sql problem for...

Whenever Firefox updates, all your Cucumber features that use Selenium break. This is annoying. In order to remedy this, version...

railway.at

...to enter localhost.ssl as Common Name when asked. This is to make your browser believe the certificate is owned by the localhost domain. Add localhost.ssl to your hosts file

...an :expires options, the default is when the user closes her browser window (I believe). Expiration of Clearance tokens In recent versions of clearance, authentication tokens are stored in a...

When your application is running on a multi-server setup, application logs are stored per server (unless you choose a...

When you need to patch an existing gem, one way is to "vendor" the gem by copying it into the...

...has_many :users, through: :invitations, include: :user, order: 'users.name' end class Invitation < ActiveRecord::Base belongs_to :party belongs_to :user after_create :send_invite def send_invite other_user_names...

...application and is likely to happen on Rails 4 applications as well. Your best bet is to stay away from using them. Most times, it's good enough to actually...