Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TasklistRails #20

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

TasklistRails #20

wants to merge 7 commits into from

Conversation

rishallen
Copy link

So I learned an important lesson, check your spelling!

I spelled my first web app wrong. So a heads up its: risha-takslist.herokuapp.com

I spent more time on this project doing the things the set up vs the css. I did however try to do the concepts of what I wanted to do for css in a few areas.

i also meant to set up a validation for the people class and feel asleep.So will do that as well.

… user has

put in data in the data fields.
- Added a flash error message in the task controller
- Created an each loop and provided a conditional in order to prevent a nil for the .each

def show
@person = Person.find(params[:id])
end

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! Watch some of the indentation-- although Ruby doesn't mind if alignment is off, it can get confusing when you have lots of methods and you're trying to find a missing end or something :)

@Hamled
Copy link

Hamled commented Apr 26, 2016

@rishallen One nice thing about Heroku is that we can rename our applications if we misspelled something or just want to change the name:
heroku apps:rename risha-tasklist --app risha-takslist (Note: the name after --app is the original app name.)

We won't be quite this lucky during capstones however... once we purchase a domain name we can't get a refund because it wasn't quite right. 😄

<% if task.completion_status != "done" %>
<% uncompleted_tasks << task %>
<%= uncompleted_tasks.length %>
<% end %>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great that you're thinking about displaying just the uncompleted tasks-- it would probably be better to put this logic in the controller or model and have an instance variable that you can use in the view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants