makandra dev
github.com

SitePrism gives you a simple, clean and semantic DSL for describing your site using the Page Object Model pattern, for...

andismith.com

If you need to upgrade code that uses the old jQuery methods bind, delegate, live, unbind and die, the attached...

httpbin.org

Some dozen generic API endpoints you can use to test how your HTTP client deals with various responses, e.g.

devdocs.io

All browsers + IE9 know the CSS :empty selector. It lets you hide an element when it has no content, i.e...

makandra dev
blog.getbootstrap.com

Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...

makandra dev
devdocs.io

DevDocs combines multiple API documentations in a fast, organized, and searchable interface. Here's what you should know before you...

makandra dev
cssanimation.rocks

Using the CSS border-radius property, we can create rounded shapes and circles. Add some gradients and they become spheres...

Ruby has Enumerable.find(&block), which returns the first item in the collection for which the block evaluates to true.

You can make both mobile Chrome and mobile Safari display a native app install banner. The banner suggests that the...

slideshare.net

Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...

hacks.mozilla.org

Unfortunately, Web APIs haven’t provided the functionality to copy text to the clipboard through JavaScript, which is why visiting...

aws.amazon.com

I am happy to announce that this information is now available in JSON form at https://ip-ranges.amazonaws.com/ip-ranges.json. The information...

On Ruby 1.9+, standard ruby character classes like \w, \d will only match 7-Bit ASCII characters: "foo" =~ /\w+/ # matches...

If you'd like to preview the crontab that whenever will deploy, run the following: bundle exec whenever

If you need a postgresql extension for your database it isn't a good idea to give your applications database...

You can include files from app/assets or from the public folder with javascript_include_tag. The subtle difference that tells...

To check which rubygems versions your different rbenv rubys are using, you can use this small bash script:

As you most likely know validates_uniqness_of :foreign_id does not allow nil values by default.

Use form models to handle this problem Or soften the validation to validates_presence_of :parent

makandra dev

Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...

If you hover over the text of a card, you will now see EDIT links at the top right corner...

A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...

github.com

MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...

Use base_class. This traverses up the hierarchy until it encounters either a class inheriting from ActiveRecord::Base or