Haml 3.1.2 displays single quotes in FormBuilder#text_ field html escaped. You may see something like that:
There is no reason to leave trailing whitespace characters in your project's files, so don't add any.
simple_format ignores Rails' XSS protection. Even when called with an unsafe string, HTML characters will not be escaped or...
Ever wanted autocompletion for paths from paths.rb in Cucumber? This card lets you write your steps like this:
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...
Under certain circumstances gettext_i18n_rails will hit a near-infinite loop. This occured in Rails 2.3.5 with Haml 3.0.18...
pjax loads HTML from your server into the current page without a full reload. It's ajax with real permalinks...
Jedes nicht rein private Profil auf Social Media Portalen muss ein Impressum haben, das heißt insbesondere Unternehmen und Freiberufler (§ 5...
This Firebug feature is called simply Log Events and allows developers to log DOM events into the Console panel.
No one wants to cry over regression issues in views; does testing HTML and CSS have to be such a...
Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...
The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...
In a nutshell: Capybara's find will not work properly on nodes from a list. Don't find on elements...
To have your text input field pre-filled in with some text that disappears as soon as the user selects...
Consider this HTML: Click me! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe! Hello Universe!
When using the asset pipeline your assets (images, javascripts, stylesheets, fonts) live in folders inside app: app/assets/fonts app/assets/images...
Consider the following HTML & CSS: ^ img { background-color: red; } div { border: 1px solid black; } This will leave a margin of...
Localizing a non-trivial application can be a huge undertaking. This card will give you an overview over the many...
%p #{link_to "label", "url"}! Haml is a great engine for writing shorter, readable HTML. However, there is...
When requests arrive at the application servers simultaneously, weird things can happen. Sometimes, this can also happen if a user...
Say you want to vertically align a div box inside a div container. This is how you do it:
Today, this line made me trouble. Can you spot the mistake? match 'sitemap.xml' => 'feeds#sitemap', :constraints => { :format => 'xml' }, :as => 'sitemap...
So you probably see the following error trace within your Passenger log file if you got here: