<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/stylesheets/rss.css" type="text/css"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>a.muse: Recap from Ruby Coding Group: 8-11-07</title>
    <link>http://www.jessirae.com/blog/articles/2007/09/26/recap-from-ruby-coding-group-8-11-07</link>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Recap from Ruby Coding Group: 8-11-07</title>
      <description>&lt;ul&gt;
	&lt;li&gt;Make sure Ruby, Rails, MySql &amp;#38; Subversion are installed and working properly on your machine.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Create 2 databases: atlrug01_development &amp;#38; atlrug01_test&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Login to Assembla where the atlrug coding project 1 is being hosted.  You need to be invited to the atlrug project in order to checkout the project with subversion.&lt;/li&gt;
	&lt;/ul&gt;


	&lt;ul&gt;
	&lt;li&gt;Checkout the atlrug project: svn co http://tools.assembla.com/svn/atlrug.  You will have to enter your assembla password and username in order to check the project out.&lt;/li&gt;
	&lt;/ul&gt;


&lt;hr /&gt;

	&lt;p&gt;Here are two options for syncing the data between development databases in rails:&lt;/p&gt;


	&lt;p&gt;1.  export and import sql&amp;#8212;using a command like this one&amp;#8230;&lt;/p&gt;


	&lt;p&gt;mysql -u root -p atlrug01_development &amp;lt; /path/to/your/project/.../atlrug/atlrug01/trunk/atlrug01/db/development_data.sql&lt;/p&gt;


	&lt;p&gt;2. fixtures + yaml&lt;/p&gt;


	&lt;p&gt;I placed a rake task in lib/tasks that will take whatever is in the db and dump that into a yaml fixture located in test/fixtures.&lt;/p&gt;


	&lt;p&gt;After checking out the latest version of the project, you run rake db:migrate &amp;#38; rake db:fixtures:load to import the yaml to your db.&lt;/p&gt;


	&lt;p&gt;Full instructions here: http://snippets.dzone.com/posts/show/3393&lt;/p&gt;
</description>
      <pubDate>Wed, 26 Sep 2007 19:03:00 -0500</pubDate>
      <guid isPermaLink="false">urn:uuid:25a39c24-f714-415c-958d-e099cbf87778</guid>
      <author>Jessica</author>
      <link>http://www.jessirae.com/blog/articles/2007/09/26/recap-from-ruby-coding-group-8-11-07</link>
      <category>technology</category>
      <category>ruby &amp; rails</category>
      <category>atlanta</category>
      <category>group</category>
      <category>coding</category>
      <category>ruby</category>
      <trackback:ping>http://www.jessirae.com/blog/articles/trackback/12704</trackback:ping>
    </item>
  </channel>
</rss>
