When you simply want to get to know Puppet, follow puppetlabs’ Learning Puppet Docs. They give you a handy introduction...
If you get an error like this ... can’t find executable rails for rails-3.2.3 (Gem::Exception) ... one of several...
We have released a new library Gemika to help test a gem against multiple versions of Ruby, gem dependencies and...
You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...
There seems to be no way to use therubyracer -v '0.11.4' and libv8 -v '3.11.8.17' on OS X Mavericks.
In Capistrano 2, directories in shared_children used to be symlinked to the shared directory during the finalize_update task...
Ever wondered about the difference between def and define_method? Turns out there are three implicit contexts in Ruby. def...
I am using git at several places: at work, at university, and at home. I want an own git user/email...
If your rails application is unable to send mails, it might be useful to debug your settings using the rails...
When your system is not running on English, you may sometimes want to run some applications and not use your...
Cucumber raises a Cucumber::Ambiguous if more than one step definitions match a step. Our new cucumber_priority gem provides...
You want to test your 1GE or 10GE internet uplink? We needed to ensure we have full 10GE to the...
...clone or #dup and you modify the copy, you will run into the following behavior: original_hash = { foo: { bar: 'original value' } } copied_hash = original_hash.dup copied_hash[:foo][:bar] = 'changed value...
...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...
...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...
...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...