Be careful to name any file @imported by SASS with a leading underscore. SASS files not beginning with an underscore...

material.angularjs.org

The material design project for Angular is a complementary effort to the Polymer project's paper elements collection. Our goal...

rails-assets.org

Automatically builds gems from Bower packages (currently 1700 gems available). Packaged Javascript files are then automatically available in your asset...

plugins.jquery.com

SudoSlider is a simple yet powerful content slider that makes no (or very few) assumptions about your markup and is...

This card describes how to pass an array with multiple element to a JavaScript function, so that the first array...

When you cannot make Selenium trigger events you rely on (e.g. a "change" event when filling in a form field...

blog.salsify.com

An all-in-approach to fix the problem of pending AJAX requests dying in the browser when the server ends...

As you know, assignable_values does not invalidate a record even when an attribute value becomes unassignable. See this example...

regular-expressions.info

A little-known feature of modern Regexp engines that help when optimizing a pattern that will be matched against long...

github.com

jQuery plugin that makes it easy to dynamically add and remove records when using ActiveRecord's nested attributes.

toptal.com

This is a great tutorials for beginners and intermediate AngularJS developers. It covers a lot of ground, including routing and...

I use this to simulate the (non-existing) :last-letter CSS pseudoclass, e. g. to insert a tombstone at the...

When using @media CSS queries, Internet Explorer 8 and below will fail to respect them. Though there are several options...

code-experience.com

React.js is a relatively new Javascript templating engine that has two-way-bindings like AngularJS or Batman. The interesting idea...

When you want the table headers to always stay around (e.g. because that table is huuuge), use the code below...

So you have a restangular collection and you want to remove an element from it, after you've successfully deleted...

github.com

better_errors is an awesome gem for enhanced error pages in development, featuring a live-REPL for some light debugging...

If you are using Angular and want something like Rails' simple_format which HTML-formats a plain-text input into...

If you want to do JavaScript-style camelization, ActiveSupport's String#camelize method can actually help you out. Simply pass...

If you come across an (older) application that is using Prototype instead of jQuery, you may often see events bound...

requiremind.com

Batman is an alternative Javascript MVC with a similar flavor as AngularJS, but a lot less features and geared towards...

If you are trying to inspect timings in JavaScript, you can use console.time and console.timeEnd which will write to your...

medium.com

Article about implementing authentication (current_user) and authorization (access rights) in AngularJS. Has an surprising amount of practical and understandable...

I had to deal with JavaScript Undefined Error while accessing a specific CKEditor instance to fill in text. Ensure everything...