If you're using the :header_html option in PDFKit (or the corresponding --header-html option in wkhtmltopdf), and the...
So you want to organize your I18n using multiple .yml files but your Rails 4.1 application simply won't use...
Great introduction to React.js and the ideas behind it.
There are different ways to run rake: On Rails 4.1+ projects, you have Spring and its binstubs which dramatically improve...
When your system is not running on English, you may sometimes want to run some applications and not use your...
In Rails, you can very easily send emails with HTML and plaintext bodies. However, if you're trying to debug...
Use reorder to replace an existing order clause with a new expression.
The flip-flop operator is a hotly contested feature of Ruby. It's still struggling to find an idiomatic use...
We will be installing rbenv and ruby-build from our own fork, not from the Ubuntu sources. Installing rbenv
# config/initializers/sidekiq.rb # Perform Sidekiq jobs immediately in development, # so you don't have to run a separate process.
Though nowhere to be found in the official docs, this works just fine. describe Facebook::Post do it_behaves_like...
For server-to-server requests to the Facebook Graph API you can skip requesting an Oauth token, an...
By default git diff highlights whole lines as changes. To diff on a word-by-word basis you can say...
If you get an error like this: An error occurred while installing pg (0.17.1), and Bundler cannot continue.
It's like Paperclip or CarrierWave, but without any automagic integration.
List flavors to show the ID and name, the amount of memory, the amount of disk space for the root...
How you can unknowingly screw your client's business when all you think about is closing the next user story...
Let's say you have two screens: Show a given project Show a report for all projects Ideally you want...
Sometimes you need complex expectations on method arguments like this SomeApi.should_receive(:find).with(:query => '*foo*', :sort => 'timestamp ASC', :limit...
Talks about some basics of software complexity. Very nice illustrations.
When using jQueryUI's Sortable plugin (either directly or via Angular's ui.sortable), you might struggle testing your nice drag...
curl http://ipecho.net/plain; echo
Styling HTML email is painful. Tables, inline CSS, unsupported CSS, desktop clients, web clients, mobile clients, various devices, various providers...
Yesterday, Rails fixed a security issue (CVE-2014-3514) in Rails 4+. It was possible to use .where...