Created
April 14, 2017 13:12
-
-
Save JackHowa/65d665b0be423b63512d297bc2f35090 to your computer and use it in GitHub Desktop.
active records inserting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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