stackoverflow.com

The ipad onscreen keyboard changes position:fixed style to position:static that misplaces those elements and you'll have problems...

Next time you have to do more than trivial CSS changes on a project, you probably want to have live...

You can use xmllint to pretty-print ugly XML files on your terminal. Just say: xmllint --format file.xml

blog.bigbinary.com

Remember why preloading associations "randomly" uses joined tables or multiple queries? If you don't like the cleverness of this...

1. Saving files to a directory that is not shared between deploys or servers If you save your uploads to...

This card shows how to upgrade a Rails 2 application from Rails 2.3.8 through every single patch level up to...

linuxsa.org.au

Here is a good explanation for zombie processes. Quote: If you have zombie processes it means those zombies have not...

Merge requests are often rejected for similar reasons. To avoid this, before you send a merge request, please confirm that...

Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...

imperavi.com

New WYSIWYG editor that claims to be lighter and prettier than TinyMCE and CKEditor. Has some Rails integration, too.

No chance you would have ever guessed it... sudo palimpsest

If you want a widget for awesome that runs a command regularly (every X seconds) and puts the output into...

You have multiple options: Just don't have a type column. All STI magic will be disabled automatically.

When you need to find out in which kind of spec you are during run-time, it's definitely possible...

When your site is on HTTPS and you are linking or redirecting to a HTTP site, the browser will not...

ActiveRecord translations live in locale.activerecord. ActiveModel translations live in locale.activemodel. To use the same translations for both, use YAML references...

This trick might be useful to implement more complicated directives in AngularJS. I needed it to do drag'n'drop...

When HTTP clients make an request they can define which response formats they can process. They do it by adding...

We have often felt the pain where our models need to serve too many masters. E.g. we are adding a...

When you want to do a git diff but do not care about the full diff and just want to...

We ran into trouble when adding additional compute units to our railscomplete Hosting environment lately. VM-instances on the new...

highscalability.com

Awesome battle report from Pinterest trying to scale their setup using different approaches. When you push something to the limit...

Rails gives you migrations to change your database schema with simple commands like add_column or update. Unfortunately these commands...

In specs, the session never persists but is always a new object for each request. Data put into the session...