scss org and parenthood adding

This commit is contained in:
mmoser committed 2015-10-03 15:15:19 -05:00
1 parent c1f872e9a1
commit 0510f1c4c2
19 files changed
+207 -162

No files matched your search

+4
View File
@@ -19,4 +19,8 @@ class Child < ActiveRecord::Base
def name
"#{first_name} #{last_name}"
end
def to_i
id
end
end
+4
View File
@@ -3,4 +3,8 @@ class Page < ActiveRecord::Base
belongs_to :person
scope :last_ten, -> { order(updated_at: :desc).limit(10) }
def to_i
id
end
end
+4
View File
@@ -1,4 +1,8 @@
class Parenthood < ActiveRecord::Base
belongs_to :person
belongs_to :child
def to_i
id
end
end
+4
View File
@@ -26,4 +26,8 @@ class Person < ActiveRecord::Base
def name
"#{first_name} #{last_name}"
end
def to_i
id
end
end