scsslint, flash styling, new parent start
This commit is contained in:
1 parent
d123e63b76
commit
9f6813c7f2
14 files changed
+147
-26
No files matched your search
@@ -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