stackoverflow.com

Most likely you run rake and your code is causing an exception which is not the one shown in your...

makandra dev

Here is a way to create a duplicate of one database, with all its tables and their data, under a...

There is a bug in Rails 3's dbconsole script, which makes the following command open a database console for...

Simple: Tell the application controller how to handle exceptions, here a RecordNotFound error. Do this with the following line: # application_controller.rb...

weblog.rubyonrails.org

jQuery as new default Javascript library, streaming response support, attr_accessible with roles, prepared statements, easier migrations.

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

You've been there: A form cannot be submitted, but you don't see a validation error because the field...

I recently browsed through the ActiveSupport code and found some nice stuff I did not know about: ActiveSupport::Callbacks ActiveRecord...

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

Open up your "Base File.sublime-settings" (Preferences Menu → File Settings – User) in Sublime Text 2. Add entries for font_face...

We have a big flat screen TV (Samsung LE46c650l1kxxu) in our conference room. Configuring it properly, we were encountering some...

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

Vim allows recording a batch of commands as a macro. This is handy if you need to do the same...

tl;dr: Always have your attachment path start with :rails_root/storage/#{Rails.env}#{ENV['RAILS_TEST_NUMBER']}/. The directory where you...

When your Cucumber feature needs to browse the page HTML, and you are not sure how to express your query...

When you have a program running in a hidden X screen (like with Xvfb for Selenium tests) you may want...

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

When you create a temporary file (e.g. to store a generated Excel sheet) and try to send it to the...

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

The first thing to do with any new U2410 should be to disable the incredibly annoying beep when pressing any...

Here are some popular mistakes when using nested forms: You are using fields_for instead of form.fields_for.