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

Good stuff. Just added some notes about Ruby conventions. #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Good stuff. Just added some notes about Ruby conventions. #2

wants to merge 1 commit into from

Conversation

swilliams
Copy link

This is pretty good man!

@@ -15,6 +15,9 @@ def new
def create
@donation = @recipient.donations.build(donation_params)
@stripe_token = :stripe_token
# When evaluating booleans, you don't need `== true`. `if @donation.recurring`
# is all you need. Additionally, ruby's convention is to call the property
Copy link
Collaborator

Choose a reason for hiding this comment

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

Trailing whitespace detected.

@carterdea carterdea self-requested a review December 15, 2018 02:13
Copy link
Owner

@carterdea carterdea left a comment

Choose a reason for hiding this comment

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

Testing this github feature.

@carterdea
Copy link
Owner

Writing a comment.

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