Moved from Less to Sass. Bootstrap now compiles faster than ever thanks to Libsass, and we join...
It smells. Rethink your code design. Code example with makandra/has_defaults: class Post < ActiveRecord::Base has_defaults tags: [] # field in db...
Interesting talk about a team that integrated automated security testing into their BDD workflow. There is also a video of...
Spreewald comes with a selector_for helper that matches an English term like the user's profile into a CSS...
You may encounter problems with passenger starting an application with an updated rails. If you find an error like this...
If you need a postgresql extension for your database it isn't a good idea to give your applications database...
Use form models to handle this problem Or soften the validation to validates_presence_of :parent
Each time thin boots, it prints a boot message : Thin web server (v1.6.3 codename Protein Powder) Maximum connections set to...
A word of caution There should rarely be a reason for you to split up config/routes.rb. If you need to...
MarcoPolo shows your app name and environment in your console prompt so you don't accidentally break production Officially supporting...
CTRL + SHIFT + ALT + N Search for any symbol in your application, like CSS classes, Ruby classes, methods, helpers etc...
In tests, it is sometimes useful to create records with specific ids. On PostgreSQL this can cause problems: Usually, PostgreSQL...
Jasmine comes with two matchers that test for equality. The first is toBe: expect(first).toBe(second) toBe passes when...
The easiest way to freeze or travel through time in a Jasmine spec is to use the built-in jasmine.clock...
If you are writing any amount of Javascript, you are probably using closures to hide local state, e.g. to have...
tl;dr: Use event.currentTarget unless you are absolutely certain that you need event.target. Since it hasn't been written down...
iPads will not trigger click events for all elements. You can fix that, but you don't want to know...
Running projects parallel makes some trouble with PDF generation. Use geordi rspec spec to force sequential tests for the whole...
Large projects usually have large test suites that can run for a long time. This can be annoying as running...
CSS (+ some Javascript) framework, implementing Google's material design for static web pages. Can be used for plain websites without...
Rails comes with grouped_collection_select that appears to be useful, but isn't. As an alternative, consider the flat...
Note: ActiveRecord::Base#becomes has a lot of quirks and inconsistent behavior. You probably want to use ActiveType.cast instead.
ActiveModel supplies an errors object that behaves similar to a Hash. It can be used to add errors to a...
Note: Making a reverse proxy with nginx is much more straightforward. A reverse proxy is a "man in the middle...