You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...
An annoying part of using font icons is that the icons usually need to live in the DOM. This is...
...to a hack, like a flag on a service model that makes your methods behave like you are on the correct host. Stub app_host to something like foo.example.vcap.me:12345 (vcap.me...
We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv
...an architecture like this: class Building < ActiveRecord::Base end class Building::Room < ActiveRecord::Base belongs_to :building end it won't be possible to guess the right path building => #<Building...
So you have a restangular collection and you want to remove an element from it, after you've successfully deleted...
...you know, assignable_values does not invalidate a record even when an attribute value becomes unassignable. See this example about songs: class Song < ActiveRecord::Base belongs_to :artist
Capistrano has the concept of a "rollback" that comes in really handy in case of errors. When you notice that...
In Rails 3.1+, instead of defining a separate up and down method you can define a single method change:
There is a nasty bug in all version of Rails 2 and some versions of Rails 3.x where two...
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...
...mark up our websites. Table of Contents Introduction To Sending Email Link Email List Best Practices Analytics And Measuring Performance Sending Score And Reputation Link Sending Bulk Email
...Automating Your Workflow Looking To The Future Conclusion: Email design and development is a beast. It is a lot like building a web page… 10 years ago. Email client vendors...
If you need to modify (e.g. add 2px) a Sass variable that defines multiple values as one (e.g. for short...
Things to check first Do you deliver fonts in a format that the target IE version understands? Did you double...
When you're writing specs for ActiveRecord models that use memoization, a simple #reload will not do: it 'updates on...
...downgrade Firefox because your Selenium tests broke after a Firefox upgrade, there is a better way that doesn't involve downgrading. Mozilla has stated that they will no longer provide...
...make a backup of your bookmarks. I didn't have to use it, but better safe than sorry. Download a release for your system from ftp://ftp.mozilla.org/pub/firefox/releases/5.0.1/
Accessing pseudo elements via JavaScript or jQuery is often painful/impossible. However, accessing their styles is fairly simple. Using getComputedStyle
Google Chrome has a subtle rendering bug that hits me once in a while. It usually occurs in sliders with...
When using Savon to connect a SOAP API, you may want to use Savon::SpecHelper to mock requests in your...
First keep in mind that :dependent => :destroy hooks into before_destroy. So when you use other before_destroy callbacks the...
Capistrano automatically logs each (successful) deployment into a file on your application servers. It is located at the root of...
...especially handy because Rails puts some stuff in the params which does not really belong there IMHO. For instance there is a :format parameter that comes in the way when...
Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...
This note describes how to setup a box running Ubuntu to share its Internet connection with another PC.