Skip to content

Instantly share code, notes, and snippets.

@JackHowa
Created April 14, 2017 13:12
Show Gist options
  • Save JackHowa/65d665b0be423b63512d297bc2f35090 to your computer and use it in GitHub Desktop.
Save JackHowa/65d665b0be423b63512d297bc2f35090 to your computer and use it in GitHub Desktop.
active records inserting
Just as it is the responsibility of our plain Ruby classes to instantiate new instances of themselves,
Active Record model classes are also responsible for instantiating instances of themselves
bundle exec rake console
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment