CSC 486: Ruby on Rails – Beginning the Journey into Rails

TL: DR

Overview:

I have been work on Version Zero. I was assigned the feature surrounding the views of question#show, question#index, and response#show. This meant I had to learn how to write HAML and Rails. Thanks to the Rails for Zombies, I learned how CRUD work, Views, Model, Routes, and Controller. Now, I have a better standing of Rails. Along the way, I also learned about the Rails Command Line as well. Below is a look at what I have done so far.

question#show

Picture of question#show.png

question#index

Picture of question#index.png

response#show


 

Picture of response#show.png

Question Controller

Picture of question controller.png

Response Controller

Picture of response controller.png


Rail Command Line

Along with learning how all this work I also learned how to use the Rails Console to make data is the database.Click here to read more about Rails Command Line. I will go more in-depth with the Rails Command Line in my next post.

Below I will show what the user see on CodeWokout.

Question#index

CodeWorkout - Question#Index.png
The links work. The Title will send the user to the Question#show view. The Edit and Delete will send the user currently to their own views. 

Question#show

Untitled.png
All the links work. This page will generate all responses assign to this question. ID the user clicks on the text of that response they will be sent to the Response#show view. The Edit and Delete links will send the users to their own views. 

Response#show

Untitled2.png

As now, you have seen all three views and how I have done them. I admit, this was very confessing at first but I glad now that I understand that Rails a whole than last week.

Thank you to my team for working with me and I hope this blog can show you the view great information.

Advertisements

One Reply to “CSC 486: Ruby on Rails – Beginning the Journey into Rails”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s