<?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 Ali Benetka on Medium]]></title>
        <description><![CDATA[Stories by Ali Benetka on Medium]]></description>
        <link>https://medium.com/@ali.benetka?source=rss-f7965e3c339b------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*boc4U5OGGw_ucHUb</url>
            <title>Stories by Ali Benetka on Medium</title>
            <link>https://medium.com/@ali.benetka?source=rss-f7965e3c339b------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 16:03:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ali.benetka/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[Rails Engine: Week 1, Module 3 Solo Project]]></title>
            <link>https://medium.com/@ali.benetka/rails-engine-week-1-module-3-solo-project-12f17cc9c830?source=rss-f7965e3c339b------2</link>
            <guid isPermaLink="false">https://medium.com/p/12f17cc9c830</guid>
            <category><![CDATA[ruby-on-rails]]></category>
            <dc:creator><![CDATA[Ali Benetka]]></dc:creator>
            <pubDate>Mon, 28 Jan 2019 02:03:48 GMT</pubDate>
            <atom:updated>2019-01-28T02:03:48.933Z</atom:updated>
            <content:encoded><![CDATA[<p>Rails Engine was the first project in Module 3 of the Turing School Backend Engineering Program. In Module 3, we focus on learning to build professional Rails applications. This project used rails and ActiveRecord to build a JSON API based on a data set from an e-commerce site. The three main learning goals for the project were:</p><ul><li>Learn how to to build Single-Responsibility controllers to provide a well-designed and versioned API.</li><li>Learn how to use controller tests to drive your design.</li><li>Use Ruby and ActiveRecord to perform more complicated business intelligence.</li></ul><p>I was really excited to do this project. There has been a lot of foundational learning the Turing program and it’s exciting to finally start completing projects that have real world, career applications. When I started the project, I made a schema for all of the tables I would need to work with.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WmUdVWZo6LfbfuYyqoAVYw.png" /></figure><p>The first step was to import and parse the SalesEngine CSV data provided for the project. While I did this once before during a project in Module 1 of Turing, I needed to relearn how to set up the rake tasks in order to import the data. Once the data was imported and parsed, I started working on the initial set up of controllers and serializers in the project. Because there are so many tables, the project was a great way to get some repetition in for building serializers, a concept that was new for this module.</p><p>In addition to practicing the basic set up for creating an API, there was also a large section of the project where we got to practice with ActiveRecord and SQL to do business logic queries. While tricky, I enjoyed building the queries to do the data analytics. Here’s an example of one of the queries. It returns the returns the top x merchants ranked by total items sold:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UallJwcfphkiyJe1pcnDIQ.png" /></figure><p>The project included many specs for what endpoints and analytics needed to completed. In addition to this, there was a spec harness that needed to be run to check your code. I found this to be one of the most difficult parts of the project. I used TDD throughout my project and constantly referenced the project specs. However, when I went to run the spec harness, I seemed to encounter a lot more errors than I expected. While tedious, it was a good exercise to focus on isolating specific errors and trying to figure out how to match them to the spec harness.</p><p>Overall, I enjoyed this project. I learn well by repetition and this project gave me a lot of practice on the guts of building APIs as well practice with ActiveRecord.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=12f17cc9c830" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Laugh Tracks: Week 1 Module 2 Project]]></title>
            <link>https://medium.com/@ali.benetka/laugh-tracks-week-1-module-2-project-494c1d3e79e8?source=rss-f7965e3c339b------2</link>
            <guid isPermaLink="false">https://medium.com/p/494c1d3e79e8</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[activerecord]]></category>
            <category><![CDATA[ruby]]></category>
            <category><![CDATA[html-css]]></category>
            <dc:creator><![CDATA[Ali Benetka]]></dc:creator>
            <pubDate>Tue, 04 Dec 2018 14:14:32 GMT</pubDate>
            <atom:updated>2018-12-04T14:14:32.527Z</atom:updated>
            <content:encoded><![CDATA[<p>I’m currently in the Backend Engineering program at Turing School of Software and Design. Last week I started the 2nd of 4 modules of the program, this one focusing on Ruby on Rails and basic web applications. In the first module we focused on learning to read, write, and interpret ruby code. This module has already proved to be vastly different than my first 6 weeks of the Turing program. As a kickoff to the module, we were assigned a solo project in Sinatra to prep us for the next 5 weeks of Ruby on Rails.</p><p>The project, Laugh Tracks, called to make a basic webpage that integrated a database of Comedians, general information about them, and their TV specials. The goal was for us to use Sinatra, ActiveRecord, MVC, and HTML/CSS to build a page where you could view an index of the comedians and that was generated from a database. Additionally, we were to give it some basic styling for viewing purposes.</p><p>I approached this project by planning to integrate all of the functionality of the project before worrying about the CSS and styling of the webpage. However after having the idea of TDD drilled into my brain during Mod 1,t his proved to be a little bit difficult because testing in RSpec wasn’t on the lesson schedule until midweek. This forced me to review, set up the file structure and make a plan to be able to complete the project in time.</p><p>One of the most challenging parts of the project for me was learning HTML and CSS. Prior to Turing, I had very little exposure to computers, let alone code. So being given the topics of HTML and CSS to teach myself and become relatively proficient in about a week was very daunting after all of my code thus far being terminal based. I found that the best way to navigate through the visual and styling of the project was just trial and error. Unfortunately this took a lot of time, so in future projects I need to plan accordingly to have enough time to properly complete this section of the project. It is incredibly rewarding to be able to see your work in web browser after only working with a terminal. I’m proud of the result of my project and hope to continue to learn to write more concise and adaptable CSS code.</p><p>In addition to learning to HTML and CSS, it was interesting and difficult to learn how to properly use embedded ruby in HTML. While the structure and syntax looks a little messy to me, I feel like this is a really cool and powerful too to have. I look forward to learning how to use this more in the coming weeks. Here’s an example of some ERB in my index.html file:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6_m4j394kMLU1oTW5ZiHjQ.png" /></figure><p>Like I said above, I chose to work through all of the functionality of the program before working on any styling. For the most part I thought this was a good direction for the project, however I would have benefitted from some plan for the CSS. I ended up having to change a lot of my html so that I could properly integrate the CSS. In the future, I hope to work concurrently on these two aspects of the projects.</p><p>For a first solo project of a new module, I felt that this one was fun and exciting. It was less frustrating and more rewarding than some of the other projects I’ve completed because of the Sinatra framework and simply being able to view what you’ve created. Aside from the visual aspects, I really enjoyed learning about the tools to work and interact with databases through ActiveRecord.</p><p>While there’s so much more to learn and improve upon, I’m proud of what I accomplished for this first independent project. I felt I was able to navigate the new tools, write code, and create a visually nice project relatively well compared to my other projects in Mod 1. It’s encouraging to see how far I’ve come in the 6 weeks that I’ve been at Turing. I can’t wait to see how much further I’ll come by the end of the program!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=494c1d3e79e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>