Our development process makes us deploy very often. As the number of releases grows, junk clogs up the hard drive...
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...
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...
Note: This technique is confusing and slows down your test suite. Copy the attached code to features/support. This gets you...
Say you want to allow users to emphasize some string, but the whole markdown thing would be far too much...
When you use ab to do some performance benchmarking, you might run into output like this: Complete requests: 200
Find out in this short guide, how to horizontally center a absolute positioned container with CSS. Note: We have a...
yaml4r is a juxtaposition of yaml documents and their Ruby couterpart. Thus, it does a great job as YAML-doc...
We all struggle with pricing. Here is some interesting information that helps you with your pricing decisions.
view_context.helper_method('args') Rails 2 ApplicationController.helpers.helper_method('args') Also see How to use helper methods inside a model...
The User-Agent HTTP header identifies the client and is sent by "regular" browsers, search engine crawlers, or other web...