you have a few options. one is if you have been creating your application
properly, you should have migration files to send to your friend. These at
least would give the structure of your database. Then you can get the
plugin ar_fixtures and use that to copy all of your current data into
fixtures. then you can send your friend your migrations and fixtures and he
can run the rake tasks (rake db:migrate and rake db:fixtures:load).
Otherwise, hopefully your friend is using the same type of database that you
are. For instance, if you''re both using MySQL you can just dump your
schema
to a file and send that to your friend so that he can import the structure
and data into his database.
On 12/20/06, mixplate
<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org>
wrote:>
>
> hi, i recently am working on a project with a friend and was wondering
> whats the best way for them to add data into their db? can i send them
> what i populated my database with? if so, what command do they run? or
> where do they place he files?
>
> thanslks
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >
>
--
Mike Weber
Web Developer
UW-Eau Claire
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---