From c0a5f9dd7dde8195a574f59261989ed99b3d88b4 Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Sat, 1 Dec 2007 23:40:46 +0000 Subject: [PATCH] ActionItem93: added person? mehtod --- app/models/person.rb | 4 ++++ app/models/profile.rb | 4 ++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/app/models/person.rb b/app/models/person.rb index 0e943fa..0a99868 100644 --- a/app/models/person.rb +++ b/app/models/person.rb @@ -52,4 +52,8 @@ class Person < Profile end end end + + def person? + true + end end diff --git a/app/models/profile.rb b/app/models/profile.rb index 5f26178..1e8a99c 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -142,4 +142,8 @@ class Profile < ActiveRecord::Base def superior_instance environment end + + def person? + false + end end -- libgit2 0.21.2