Displaying 2 results from an estimated 2 matches for "export_using_query".
2006 Jun 10
5
[REL] Manage Fixtures 2.0.0
...export_all
Create YAML test fixtures for a specific table(s) from data in an existing
database. Defaults to development database. Set RAILS_ENV to override.
[%] rake db:fixtures:export_for_tables TABLES=foos[,bars]
Create YAML text fixtures based on a specific SQL query
[%] rake db:fixtures:export_using_query SQL="select * from foo where
id=''bar''" FIXTURE_NAME=foo
Import the YAML test fixtures for specific models from data in an existing
database. Defaults to development database. Set RAILS_ENV to override.
[%] rake db:fixtures:import_for_models MODELS=Foo[,Bar,Land]
Imp...
2006 Mar 30
3
Export Fixtures Plugin
...ixtures:export_all
Create YAML test fixtures for a specific table(s) from data in an existing
database. Defaults to development database. Set RAILS_ENV to override.
rake db:fixtures:export_for_tables TABLES=foo,bar
Create YAML text fixtures based on a specific SQL query
rake db:fixtures:export_using_query SQL="select * from foo where id=''bar''"
FIXTURE_NAME=foo
= BUGS
Please report any bugs or feature enhancements to http://dev.toolbocks.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Nathaniel S. H. Brown? ? ?? ??? ?? ?? ?? ?? ?http://nshb.net
~~~~...