scsslint, flash styling, new parent start
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user