<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mary Bork on Medium]]></title>
        <description><![CDATA[Stories by Mary Bork on Medium]]></description>
        <link>https://medium.com/@marybork?source=rss-492c1198252c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*iUShwfLc0q9hm3_D</url>
            <title>Stories by Mary Bork on Medium</title>
            <link>https://medium.com/@marybork?source=rss-492c1198252c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 11:37:03 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@marybork/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Building a Simple Application in Sinatra]]></title>
            <link>https://medium.com/@marybork/building-a-simple-application-in-sinatra-8f2a6f050c1d?source=rss-492c1198252c------2</link>
            <guid isPermaLink="false">https://medium.com/p/8f2a6f050c1d</guid>
            <category><![CDATA[sinatra]]></category>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Mary Bork]]></dc:creator>
            <pubDate>Mon, 03 Dec 2018 19:00:29 GMT</pubDate>
            <atom:updated>2018-12-03T19:00:29.192Z</atom:updated>
            <content:encoded><![CDATA[<p>Building a Simple Application in Sinatra</p><p>The first project of module two in the backend program at Turing was to build a small application using the Sinatra web framework. Sinatra‘s framework enables developers to create simple applications in the ruby programming language. The project, a simple website about comedians called “Laugh-Tracks”, was used to introduce the students of Mod Two to MVC and CRUD conventions, as well as building and interacting with an ActiveRecord database. We were also introduced to TDD within the context of testing browser-run applications using RSpec and Capybara.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6RQZdqELXefzIQyzZFlCLQ.png" /><figcaption>Laugh-Tracks wasn’t graded. Hooray!</figcaption></figure><p>After forking and cloning down the repository given to us by our instructors through GitHub, I set up my gemfile and installed the necessary gems in my project environment. I then set out to read through the user stories given to us and to build out my feature tests in RSpec modeled after the specifications of each user story.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/580/1*nICrgtCQnDiesGcFmlYWcQ.png" /><figcaption>Easy Step One: Clone the Repository</figcaption></figure><p>With my feature tests completed, I had a clearer understanding of the objectives of the application we were expected to build and I had the structure of my tests to guide me through successfully implementing the details of the project.</p><p>Through the process of building out my application features, an initial difficulty was in approaching unfamiliar error messages and tracking down the solutions to those new errors. Some of the errors were especially difficult in that they stemmed from default settings within the project environment and I had to seek out authoritative advice to fix the problem.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*v6COPH0dpNPkOwTLDZjcPg.png" /><figcaption>Nonsense. (THE SOLUTION: export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES. (More nonsense- Yes!)</figcaption></figure><p>I really enjoyed interacting with the MVC structure of our project and familiarizing myself with the interactions between the database logic, our controller logic, and the view files. It was also enjoyable to see the project within the browser and having a greater handle on the product of my work, which is an experience that evaded me in the projects that were run exclusively from our terminal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*eeXgVLclAAOGjyRfjmZyQg.png" /><figcaption>Pink and Grey are supposedly cool until January 2019. Enjoy them while you can.</figcaption></figure><p>I was happy to find that I had greater comfort and control with the various skills within this project than I had in earlier experiences. I did however struggle with the styling of my application and initially had greater intentions regarding the appearance of my site.</p><p>Overall, I really enjoyed this project and I felt like the process was much more fluid than earlier attempts. I think one reason for my greater sense of calm throughout completing “Laugh-Tracks” was in having a better understanding of RSpec and Capybara which meant that I could actually utilize the benefits of TDD. I intend to carry that process forward into future projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8f2a6f050c1d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>