Learning About the Fundamentals of Good Code

WOCinTechChat.com

Overview

Before

  • grabs team_id from my invitation_params
  • queries the User model using that team_id
  • plucks user_id from the collection returned from that query
  • plucks email
  • uses Ruby’s set intersection operator to find common values between the values in emails and invitation_params[“emails”]
  • removes the emails in matches from invitation_params[“emails”]
  • sends invitations to people who are not already on the team.

After

Impact

--

--

--

Software engineer | My mom makes the best empanadas you'll ever taste instagram.com/gailscaribb

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Hands-On Tutorial to Create and Manage an Azure DevOps style Story Board for your GitHub Project

Five Key Recommendations on Managing Project Costs

Milanshopping customer Care number/8584892730//8584892730/Milanshopping customer Care…

Recommendation of Azure App Service Environment.

Testnet KYVE

Create a data factory to seed your database with dummy data of your liking

Project Update: How Vuforia works

Current news about Crodo

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alicia

Alicia

Software engineer | My mom makes the best empanadas you'll ever taste instagram.com/gailscaribb

More from Medium

What is a Programming Language and How Do They Work?

7 Biggest coding blunders that every software engineer must avoid

The value of reading code

How can I start software