37signals.com

Lately, we’ve been exploring ways to offer web apps that perform like native apps on mobile devices. For this...

You need to install the following packages before you can build the Nokogiri gem: sudo apt-get install libxml2-dev...

If you want to see how long your database queries actually take, you need to disable MySQL's query cache...

If you have problems with SSH session timing out, add the following to your /etc/.ssh/config: Host * ServerAliveInterval 55 ServerAliveCountMax 2

You need to install the following packages before you can build the Paperclip gem: sudo apt-get install imagemagick librmagick...

makandra dev

You don't need a Rails application to use Sass. Even when you're working on a static site you...

youtube.com

power-rake db:migrate VERSION=20100913132321 By default the environments development, test, cucumber and performance are considered...

When Paperclip attachments should only be downloadable for selected users, there are three ways to go. The same applies to...

alfajango.com

The CSS Emoticons plugin is a simple jQuery plugin (and stylesheet) that allows you to turn any text emoticons on...

github.com

This gem is designed to provide CSS views to Rails, and a process to concatenate and minify these files to...

Call with the server's hostname (and user if you have no SSH agent), e.g. install-gems-remotely my.server.com

gem-session.com

If you want to exclude your staging site from Google using robots.txt without running the risk to forget deleting the...

makandra dev

This is an awesome gadget in your toolbox, even if your test coverage is great. gem install ruby-debug (Ruby...

Our gem Mail Magnet allows you to override e-mail recipients in ActionMailer so all mails go to a given...

def task_with_hoptoad_notification(options) task(options) do begin yield rescue Exception => e Airbrake.notify(e) raise e

Rails 3, 4, 5, 6 config/application.rb config/environment.rb before the initialize! call (we don't usually edit this file)

The box shadows created rendered in IE by CSS3PIE look darker and are blurred differently than in browsers that render...

makandra dev

Update RubyGems and Passenger Bundler requires Rubygems >= 1.3.6. Run gem update --system if you have an older version.

When deploying Rails applications you might have noticed that JS and CSS are not cached by all browsers.

When working with times and dates in Rails applications, you need to deal with the following problem: In Rails, Time...

popthis is awesome when used with inaction_mailer. Setup inaction_mailer Install the gem: sudo gem install popthis

So you screwed up and copied Paperclip secrets from one project to another. Here is a semi-automatic, painful way...