Testing with real live production data does come with at least one catch. All those real live users in your...
So you got this error, even though your Gemfile bundles mysql2: !!! Missing the mysql2 gem. Add it to your Gemfile...
Our rspec_candy gem now gives you three matchers: be_same_number_as Tests if the given number is the...
The behaviour of browsers is very inconsistent when an Ajax request is answered with a redirect. Highlights are:
A number of issues concerning Sass/SCSS autocompletion and syntax highlighting were submitted as a feedback for RubyMine 4.5. Web development...
The next version of MySQL will include a built-in memcached daemon. This daemon can quickly get and set key/value...
You can use String#demodulize from ActiveSupport: "ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections" "Inflections".demodulize # => "Inflections"
When you develop a gem and you have a Gemfile in your project directory, you might be surprised that your...
Consul 0.4.0 comes with some new features. Dependencies Consul no longer requires assignable_values, it's optional for when you...
The usage shares of your site highly depends on your target audience. E.g. no Internet Explorer has ever seen hollyapp.com...
paper_trail is an excellent gem to track record versions and changes. You almost never want to reimplement something like...
You've always been able to access the humanized version for the current value like this: song = Song.new(:genre => 'pop...
The will_paginate gem will show a default of 30 records per page. If you want to test pagination in...
Unless you changed the default, this will be 16 MB: mysql> SHOW VARIABLES WHERE Variable_name="max_allowed_packet"; +--------------------+----------+
Sometimes, you may want to open up a second database connection, to a read slave or another database. When doing...
The facebook API allows up to 600 requests per 600 seconds. If you poll more often, you'll get no...
Write your app using HTML, CSS or JavaScript, upload it to the PhoneGap Build service and get back app-store...
When deploying, Capistrano puts a REVISION file into your application's release directory. It contains the hash of the commit...
For my Gem Session project Holly I ran the Ironman of drag'n'drop implementations: Dragging in nested lists
The $.cssHooks object provides a way to define functions for getting and setting particular CSS values. It can also be...
I highly recommend that you make use of RubyMine's feature to pin tabs. When you pin all "important" files...
The step definition below lets you write: When I click on "Foo" This is useful in Selenium features where the...
Test suites usually grow over time as more and more development time is spent on a projects. Overall run-time...
When you use method_missing to have an object return something on a method call, always make sure you also...