While it might seem trivial to implement an invoice that sums up items and shows net, gross and vat totals...

When the Ruby parser module of Ruby-GetText comes across a file in one of its search directories (e.g. lib/scripts...

makandra dev
forums.mysql.com

Do you wonder which databases are actually taking up how much space but only have one huge ibdata1 in your...

If you use Amazon AWS cloud services you definitively want to utilize software raid for IO intensive stuff such as...

makandra dev

The Capybara API is somewhat hard for parse for a list of methods you can call on a Capybara node...

Possible fixes: Upgrade your Firefox. It's fixed in 5.0. Hunt down funny float or overflow directives in your CSS...

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...

Note that this card is very old. You might want to use ActiveType for your auto-coerced virtual attributes instead...

Note: Consider using MATE instead of Gnome 3 on newer system Awesome is a very good tiling window manager that...

Install Ruby from the Ubuntu repository: sudo apt-get install ruby ruby-dev \ ruby is the meta package. If you...

These steps are now part of Spreewald. Since Capybara 0.4.1 a within scope will only look at the first element...

makandra dev
mysqltuner.pl

This Perl script will run diagnostics on your MySQL database and recommend changes to your MySQL configuration.

makandra dev

When you have a hook in your Capistrano file that dumps your remote database, you might not want it to...

Copy the attached Ruby code to config/initializers, or paste it into your IRB console. You can now dump any two...

Put the attached file into config/initializers/ to be able to say created_within on any ActiveRecord or its scope chain...

When your cucumber features grow massively over time, the test execution can take a lot of time.

Soon after having written our shell-for script, we wanted to easily get dumps of our productions machines, too. This...

makandra dev
github.com

After having written useful scripts into makandra notes for a long time, we’ve now tied them into a powerful...

makandra dev

If you want to play music or sounds from a browser, your choice is to use either Flash or the...

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...

When deploying an application with "cap deploy" by default [1] you only deploy your code but do not run migrations...

agileweboperations.com

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...