Load Fixtures into the Database

Posted on February 12, 2009, under Rails, Shell Scripts.

I was looking to load the fixtures into my database and it is very simple. Please look at the following code

1
rake spec:db:fixtures:load

Hope this helps somebody.

Cheers!

Pads

Backup a MySQL Table

Posted on October 16, 2008, under MySQL.

mysqldump db_name table_name > /file/to/path/dump.sql

Hope this helps!

Cheers!

Pads