jQuery as new default Javascript library, streaming response support, attr_accessible with roles, prepared statements, easier migrations.
When writing a piece of reusable code, you sometimes need to have separate code for Rails 2 and Rails 3...
While it might seem trivial to implement an invoice that sums up items and shows net, gross and vat totals...
Calling Time#utc, Time#gmt or Time#localtime will not create a converted copy. Instead these methods modify the receiving...
After updating Rubygems you see a wall of deprecation warnings like this: NOTE: Gem::SourceIndex#add_spec is deprecated, use...
Retaliation is a Jenkins CI build monitor that automatically coordinates a foam missile counter-attack against the developer who breaks...
I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks
Do you wonder which databases are actually taking up how much space but only have one huge ibdata1 in your...
If you want to use the (badly implemented!) solarized color scheme in your Rubymine IDE: Clone the IntelliJ IDEA port...
Open up your "Base File.sublime-settings" (Preferences Menu → File Settings – User) in Sublime Text 2. Add entries for font_face...
If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...
Date::Performance is a gem that replaces various method in Ruby's Date class with fast C implementations. Unfortunately it...
Detecting if a Javascript is running under Selenium WebDriver is super-painful. It's much easier to detect the current...
Whenever you deploy using Capistrano, a new folder is created within the releases directory on the remote server containing the...
When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...
When you need to create a locale for a language variant (like Austrian for German), you probably don't want...
When you need to use diff in either some Ruby code or your Rails app, use the differ gem.
This post is not about devops, it's not about lean startups, it's not about web scale, it's...
Under the same origin policy, a web page served from server1.example.com cannot normally connect to or communicate with a server...
Code example for implementing Cross-Origin Resource Sharing (CORS) in Rails.
The addon lets you set the format of the dates used for the year and month folders that the Archive...
The Javascript code below is a rough equivalent to the simple_format helper that ships with Rails: function simpleFormat(str...
Resque comes with its own dashboard (Resque server) that you can mount inside your Rails 3 application with #config/routes.rb:
Note: If you are currently working with Ruby 1.8.7 or 1.9.3, we recommend to upgrade to Ruby 2.1 first. From...