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

The step definition below allows you to write: Then I should see an HTML redirect to "http://www.makandracards.com" in the...

rubyforge.org

Under certain circumstances gettext_i18n_rails will hit a near-infinite loop. This occured in Rails 2.3.5 with Haml 3.0.18...

makandra dev
github.com

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

In a nutshell: return statements inside blocks cause a method's return value to change. This is by design (and...

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

css-tricks.com

Nice list of icon sets that come in the form of fonts. I recommend Font Awesome.

Jedes nicht rein private Profil auf Social Media Portalen muss ein Impressum haben, das heißt insbesondere Unternehmen und Freiberufler (§ 5...

jetbrains.com

You can quickly access views that belong to a controller by using the tiny "page with arrow" icon in the...

makandra dev
softwareishard.com

This Firebug feature is called simply Log Events and allows developers to log DOM events into the Console panel.

github.com

No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...

makandra dev
twitter.github.com

Explanation of the "bootstrap 2" base CSS. Contains information about: Typography Code Tables Forms Buttons Icons

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...

When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...

You can say this in helpers like link_to and content_tag: = link_to 'Label', root_url, :data => { :foo => 'bar...

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

stackoverflow.com

Rack has a limit for how many form parameters it will parse. This limit is 65536 by default.

In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...

ask.libreoffice.org

Upgade to LibreOffice 3.5.3+ or disable hardware accelleration in Tools → Options → LibreOffice → View → Graphic output.

makandra dev

To have your text input field pre-filled in with some text that disappears as soon as the user selects...

jsfiddle.net

Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!

In large forms (30+ controls) new Capybara version become [extremely slow] when filling out fields. It takes several seconds per...

makandracards.com

The amount helper now retrieves the decimal separator from your I18n dictionary (number.format.separator) instead of hardcoding it to a comma...

When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...