• Online, Self-Paced
Course Description

Most applications will need to use input/output operations to either files or databases. Explore how Ruby can access and manipulate files on a disk, access data from databases, and how to use RegEx to manipulate data.

Learning Objectives

Ruby Full Stack Development: RegEx and I/O with Ruby

  • define and describe regular expressions and how they can be used
  • use regular expressions to evaluate if a value is valid in Ruby
  • manipulate and modify strings using regular expressions in Ruby
  • open, access, and close files and check if a file exists in Ruby
  • read and write string, byte, and character data to a file in Ruby
  • manipulate physical files on a drive by renaming, deleting, and copying files in Ruby
  • create, rename, move, and delete directories from within Ruby
  • install the MySQL2 Ruby Gem database connector
  • use the MySQL2 Client class to create a connection object to a MySQL database
  • create, read, update, and delete data from a database
  • use sorting, grouping, and aggregation when reading data from a database
  • use prepared statements to safely pass data to the database
  • use file and database input and output operations to manipulate files and data stored in databases

Framework Connections

The materials within this course focus on the NICE Framework Task, Knowledge, and Skill statements identified within the indicated NICE Framework component(s):

Specialty Areas

  • Software Development
  • Systems Development