Saturday, 21 April 2007

Cloning test database to development

When developing Rails, I like to keep all of my data in the test fixtures.

In order to copy them to the development database, use this command:
rake db:fixtures:load # Load fixtures into the current environment's database. Load specific fixtures using FIXTURES=x,y

Note it will wipe out the existing data.

This was found using the handy "rake -T" command, which lists all rake Rails commands.

9 comments:

Unknown said...

nike free, mulberry, ray ban pas cher, new balance pas cher, hogan, converse pas cher, hollister, ralph lauren pas cher, coach outlet, michael kors, lacoste pas cher, true religion jeans, sac longchamp, north face, michael kors, hermes, nike trainers, true religion jeans, nike roshe, burberry, timberland, nike roshe run, nike blazer, true religion outlet, nike air max, vanessa bruno, louboutin pas cher, hollister pas cher, nike free run uk, longchamp pas cher, replica handbags, air max, lululemon, oakley pas cher, michael kors, coach outlet, ralph lauren uk, true religion jeans, nike air max, vans pas cher, tn pas cher, north face, sac guess, air jordan pas cher, coach purses, michael kors, ray ban uk, nike air max, air force, abercrombie and fitch, nike huarache

Unknown said...

ugg boots uk, ugg,ugg australia,ugg italia, moncler, ugg,uggs,uggs canada, moncler, moncler, louis vuitton, canada goose outlet, hollister, louis vuitton, moncler, barbour, moncler, sac louis vuitton pas cher, ugg pas cher, karen millen, louis vuitton, lancel, bottes ugg, canada goose, canada goose uk, gucci, replica watches, juicy couture outlet, wedding dresses, coach outlet, montre pas cher, pandora charms, louis vuitton, converse outlet, moncler, links of london, barbour jackets, thomas sabo, toms shoes, canada goose, pandora jewelry, swarovski, pandora charms, marc jacobs, canada goose, moncler outlet, supra shoes, juicy couture outlet, doudoune canada goose, moncler, swarovski crystal, canada goose outlet, canada goose, ray ban, pandora jewelry
ninest123 16.03

Unknown said...

for beginners like me need a lot of reading and searching for information on various blogs. and articles that you share a very nice and inspires me . cara menggugurkan kandungan

Unknown said...

This is a very good article material and it is very useful for us all. thank you . cara menggugurkan kandungan

Bongol said...

By taking the time to read a lot of information like this to add my insight . tips menggugurkan kandungan

Lisa Resnick said...

Really Awesome Blog Thanks for Sharing...
clipping path
clipping path service
background removal
car photo editing

Amy Wong said...

I found a good site, the main thing is that here I am not cheating everything honestly honest good online casino I sit play, have fun

CB said...

By reading the article material very very well and this is very useful.
cara menggugurkan hamil
penyebab telat haid dan solusinya
tanda tanda kehamilan
aktivitas penyebab keguguran
kalkulator masa subur wanita
masa subur wanita

cara menggugurkan kandungan dengan ragi said...

Entah ini hanya sebatas opini atau mitos saja cara menggugurkan kandungan dengan bumbu dapur dengan menggunakan kunyit asam maupun asam jawa , jahe maupun manjakani dan merica mampu untuk cara menggugurkan kehamilan . Padahal yang perlu anda ketahui resiko menggugurkan kandungan sangat berbahaya dan berat . Oleh sebab itu , anda jangan sembarangan melakukannya . telat datang bulan yang dialami wanita selalu dikaitkan dengan kehamilan , Padahal ada beberapa penyebab alat reproduksi wanita mengalami gangguan tersebut seperti stess , tidak menjaga pola makan sehat dan sebagainya . Untuk para suami agar terjalin hubungan intim yang harmonis sangat perlu sekali untuk mengetahui cara merangsang wanita supaya pasangan anda lebih bergairah dalam menjalin asmara bersama anda .