Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...
Attached is a working config to deploy an application with Capistrano that needs to monitor Resque workers with God.
If you get the error "413 Request Entity Too Large" from Nginx client_max_body_size is too low (default...
This post is not about devops, it's not about lean startups, it's not about web scale, it's...
Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...
This is now part of geordi. Please don't follow the instructions below, if you use geordi. Inspired by the...
Passenger gives you the possibility to define in which environment your app should be started. This has to be added...
Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:
Note: While the solution in this card should still work, we prefer another solution now: Hide your Selenium browser window...
When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...
Free Hoptoad/Airbrake alternative which can capture exceptions from any platform. It comes with a Rails notifier and a RESTful API...
Leads to awesomeness and unicorns when used in production.
We are changing our name from Hoptoad to Airbrake. You see, some folks much larger than us reached out and...
When you generate a URL in a mailer view, ActionMailer will raise an error unless you previously configured it which...
I've recently encountered a weird problem with specs making lots of SOLR queries using the acts_as_solr plugin...
Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.
We're adding a script console-for to open a remote Rails console with one command. Also have a look...
You probably need to activate X-Sendfile.
If you stub a method or set expectations with should_receive these stubbed methods may also yield blocks. This is...
To obtain a list of Passenger processes with their application directories and memory usages, you can say sudo passenger-memory...
When CoffeeScript was added to Rails 3.1 they forgot one very important part, the ability to use it when responding...
If you are connected with a network that forbids e-mail traffic but allows SSH, you can tunnel your e...
When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...
To check your apache2 config files for syntax errors run sudo apache2ctl configtest or shorter sudo apache2ctl -t