# A. Import the YAML Library
require 'yaml'
# B. Create an array
names = %w[chris sandy josie billy suzie]
# Example 1 : Converting an array into YAML using: to_yaml
yaml_example1 = names.to_yaml
puts yaml_example1
# Example 2: Converting an array into YAML using: dump()
yaml_example2 = YAML::dump(names)
puts yaml_example2
# Example 3: Loading YAML back into an array using: load()
array_example = YAML::load(yamloutput2)
puts array_example
![Installing Vue + Rails 6](/content/images/size/w800/2023/03/chrisjmendez-vue-rails.png)
Deploying Rails 5.x on AWS ElasticBeanstalk using AWS CodeCommit
How to deploy your Rails app on ElasticBeanstalk (including S3 buckets, security groups, load balancers, auto-scalling groups and more) using CodeCommit.
![How to install Rails 6.x on a Mac](/content/images/size/w800/2023/03/chrisjmendez-rails.png)
Subscribe to new posts
Processing your application
Please check your inbox and click the link to confirm your subscription
There was an error sending the email