VirtualBox does not offer anything for this task -- you need to do it yourself. It's not that hard:
Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...
After managing a few agile projects from India and learning the tricks of the trade, I have been wondering why...
This Perl script will run diagnostics on your MySQL database and recommend changes to your MySQL configuration.
When you encouter an unsafe string that you actually made html_safe before, perhaps you called one of the following...
When your cucumber features grow massively over time, the test execution can take a lot of time.
The trick is this: send a low-resolution version of your image to the screen, and a high-resolution version...
Ruby comes with a class BigDecimal which you can use for arbitrary precision arithmetic. You should use BigDecimal instead of...
When storing floating-point numbers such as prices or totals in an SQL database, always use a DECIMAL column. Never...
User Stories should describe what a user wants the system to do. Purely technical tasks should usually be implemented as...
ActiveRecord gives you the :include option to load records and their associations in a fixed number of queries. This is...
Type looking a little flabby? Overweight? Want to give it a kick in the pants? Take a look at some...
You will occasionally need to clean out your database while keeping the schema intact, e.g. when someone inserted data in...
MySQL's MIN and MAX functions are for aggregations only. This will not work and produce an error:
Note: For PostgreSQL you should use advisory locks. For MySQL we still recommend the solution in this card.
This note is a reminder that there is something called AppArmor that could cause weird errors ("File not found", "Can...
Have a backup. Stop MySQL: sudo service mysql stop Move (or copy) your mysql directory. If you want /mnt/mysql to...
When you use the send_file method to send a local file to the browser, you can save resources on...
A check if two date or time ranges A and B overlap needs to cover a lot of cases:
Note: Consider not doing this. Use form models or vanilla methods instead. The :conditions option for Rails associations cannot take...
This might be due to AppArmor denying the MySQL server access to most of the filesystem. You can instead use...
There are times when you need to send SQL to the database, like this: def self.some_count(field) field = connection.quote...
Update: This trick probably isn't very useful anymore in Ruby 2.x. The Ruby GC has improved a lot...
The following Sass will do the trick: button, input[type="reset"], input[type="button"], input[type="submit"], input[type="file...