If you specify different ports, you can run multiple local webricks with rails server --port=300X at the same time...
The Rails logger will store its content in a buffer and write it into the file system every 1000 lines...
Looks simpler than inaction_mailer: gem install mailcatcher mailcatcher Setup Rails to send mails to 127.0.0.1:1025. Usually you want...
When you require the Ruby debugger to be available from your Rails console (e.g. you want to inspect a method...
In case you have sensitive data within your RDS instance, you want to use encrypted connections between your application and...
The technique described in this card has an important caveat: The result of GROUP_CONCAT is truncated to the maximum...
There is a new card about how to do this with the new AWS Command Line Interface
If Rails or Rake are complaining about a missing gem that is listed in your Gemfile.lock and the listed version...
whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP...
Consider you have a website vhost listening to www.example.com, redirecting all incoming requests that do not talk about the configured...
If your application raises an error like ... Couldn't connect to the Solr server at http://127.0.0.1:8983/solr. 500 "Lock...
If you have different users for different servers, don't use set :user. Encode the username into the server definition...
I believe that when WEBrick has trouble bringing up your Rails application, the WEBrick component that is supposed to print...
We have a big flat screen TV (Samsung LE46c650l1kxxu) in our conference room. Configuring it properly, we were encountering some...
Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...
To avoid sending e-mails containing sensitive data unencrypted I strongly suggest you enable a confirmation dialog. Enigmail can show...
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...
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 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.
Thunderbird 5 brings a custom chrome on Windows Vista/7 that uses translucent Aero decorations on toolbars and menubars. Here is...