Note: Modern Rails has two build pipelines, the asset pipeline (or "Sprockets") and Webpacker. The principles below apply for both...

youtube.com

Interesting interview with DHH, where he talks about how they made the new Basecamp feel very fast without using a...

makandra dev
github.com

pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...

If you want to update some records with boolean fields in a migration, always remember to set your values with...

A print stylesheet is easy to create. Choose a font suited for paper, hide some elements, done. Unfortunately print stylesheets...

Note: Instead of using the method in this card, you probably want to use ActiveType's nested attributes which is...

Every now and then, Java is subject to security issues where code can break out of Java's sandbox and...

So your Cucumber feature sometimes dies with this exception: Modal Dialog Present (Selenium::WebDriver::Error::UnhandledAlertError) As a seasoned Selenium...

github.com

In Selenium features the server and client are running in separate processes. Therefore, when mocking time with a tool like...

makandra dev
blog.jquery.com

No big features, but many improvements under the hood: Faster selector engine Many bug fixes Note that jQuery 2.0, scheduled...

The behaviour of browsers is very inconsistent when an Ajax request is answered with a redirect. Highlights are:

makandra dev

Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...

makandra dev
build.phonegap.com

Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...

For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists

api.jquery.com

The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...

makandracards.com

The step we used in the past (Then "foo" should not be visibile) doesn't reliably work in Selenium features...

makandracards.com

Added information about what jQuery considers "visible" Added a solution for Prototype Added a patch for Prototype that replaces the...

The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...

stackoverflow.com

When you use method_missing to have an object return something on a method call, always make sure you also...

When refactoring a sequence of steps to a new, more descriptive step, you can use the steps method and Ruby...

Applications often show or hide elements based on viewport dimensions, or may have components that behave differently (like mobile vs...

Lately, I came across a nasty error. I had a class Article that included FooTrait and BarTrait. In BarTrait, I...

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