<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Zipporah </title>
    <description>The latest articles on DEV Community by Zipporah  (@zmyers101).</description>
    <link>https://dev.to/zmyers101</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F937696%2Fe69d95f9-4ac8-4181-981f-f0894dfca26c.png</url>
      <title>DEV Community: Zipporah </title>
      <link>https://dev.to/zmyers101</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/zmyers101"/>
    <language>en</language>
    <item>
      <title>Had issues with my Database</title>
      <dc:creator>Zipporah </dc:creator>
      <pubDate>Thu, 08 Dec 2022 17:44:37 +0000</pubDate>
      <link>https://dev.to/zmyers101/had-issues-with-my-database-583d</link>
      <guid>https://dev.to/zmyers101/had-issues-with-my-database-583d</guid>
      <description>&lt;p&gt;Today I had a problem with my rails sample data appearing in MSM sign in. The real issue was that I was not adding rails db:migrate to the terminal after adding tables.Also, I was not adding the: &lt;/p&gt;

&lt;p&gt;rails generate migration AddImageToMovies Image:string&lt;/p&gt;

&lt;p&gt;rails db:migrate&lt;/p&gt;

&lt;p&gt;this adds to the tables in your schema which will help the rails sample_data to appear in your app, because it has somewhere to go to.&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Add to application.html.erb</title>
      <dc:creator>Zipporah </dc:creator>
      <pubDate>Tue, 06 Dec 2022 17:13:14 +0000</pubDate>
      <link>https://dev.to/zmyers101/add-to-applicationhtmlerb-37c8</link>
      <guid>https://dev.to/zmyers101/add-to-applicationhtmlerb-37c8</guid>
      <description>&lt;p&gt;Adding your nav bar to this file ensures that all of this is accessible to user from different pages!&lt;/p&gt;

</description>
      <category>watercooler</category>
    </item>
    <item>
      <title>Easy way to create tables in database</title>
      <dc:creator>Zipporah </dc:creator>
      <pubDate>Tue, 06 Dec 2022 16:16:10 +0000</pubDate>
      <link>https://dev.to/zmyers101/easy-way-to-create-tables-in-database-5djc</link>
      <guid>https://dev.to/zmyers101/easy-way-to-create-tables-in-database-5djc</guid>
      <description>&lt;p&gt;rails db:rollback in the terminal drops the most recent table in database.&lt;/p&gt;

&lt;p&gt;Discard changes in Git.Then type rails generate draft:resource movie title:string description:text director_id:integer&lt;/p&gt;

&lt;p&gt;this line in the terminal creates the routes for you, as well as the specific controller and in views as well!&lt;/p&gt;

&lt;p&gt;At the end of that, ensure that you type rails db:migrate in the terminal so that is can be properly placed. If not then an error message saying "Migrations pending" will appear.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Migration to create tables in database for MSM Sign in</title>
      <dc:creator>Zipporah </dc:creator>
      <pubDate>Tue, 06 Dec 2022 02:25:32 +0000</pubDate>
      <link>https://dev.to/zmyers101/migration-to-create-tables-in-database-for-msm-sign-in-4bh3</link>
      <guid>https://dev.to/zmyers101/migration-to-create-tables-in-database-for-msm-sign-in-4bh3</guid>
      <description>&lt;p&gt;The line of code to write in terminal for rails is &lt;br&gt;
rails generate model movie title:string description:text director_id:integer &lt;/p&gt;

&lt;p&gt;next enter rails db:migrate which creates the data table in the database for you to add to later.This is important to know because you cannot create tables of information in the rails/db url page.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Date Ruby Chapter 6</title>
      <dc:creator>Zipporah </dc:creator>
      <pubDate>Mon, 17 Oct 2022 18:48:19 +0000</pubDate>
      <link>https://dev.to/zmyers101/date-ruby-chapter-6-e7c</link>
      <guid>https://dev.to/zmyers101/date-ruby-chapter-6-e7c</guid>
      <description>&lt;p&gt;In this ruby chapter I realized alot of my rails grades were failing because of simple errors such as a missing space and not putting print in front of the line of code. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Constants In Ruby</title>
      <dc:creator>Zipporah </dc:creator>
      <pubDate>Wed, 05 Oct 2022 16:12:33 +0000</pubDate>
      <link>https://dev.to/zmyers101/constants-in-ruby-g14</link>
      <guid>https://dev.to/zmyers101/constants-in-ruby-g14</guid>
      <description>&lt;p&gt;Today I learned that variables are always formatted in the 'snake case' like this :my_first_variable.&lt;/p&gt;

&lt;p&gt;I also learned that constants are usually connected to a string for example: MY_FIRST_CONSTANT = 10. And once constants are assigned, they cannot be changed, meaning this constant is going to always be 10.&lt;/p&gt;

&lt;p&gt;Also, I learned that classes and constants are similar.Classes are the way Ruby organizes."Objects are generally created by instantiating classes using the .new method".&lt;br&gt;
For example,it looks like this:&lt;/p&gt;

&lt;h1&gt;
  
  
  Define the class
&lt;/h1&gt;

&lt;p&gt;class Calculator&lt;br&gt;
  #...&lt;br&gt;
end&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
