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.

4 comments:

Anonymous 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

Anonymous 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

Bongol said...

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

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