scsslint, flash styling, new parent start

This commit is contained in:
2015-09-24 22:00:26 -05:00
parent d123e63b76
commit 9f6813c7f2
14 changed files with 147 additions and 26 deletions

View File

@ -1,6 +1,7 @@
class Person < ActiveRecord::Base
has_many :parenthoods
has_many :children, through: :parenthoods
accepts_nested_attributes_for :children
validates :first_name, presence: true
validates :last_name, presence: true