Commit 5895824ffd96b203ffe5b6206a231650d9a5e25c
1 parent
aa37360c
Fixes reverted commit, adds new sti table and makes it a follower
Showing
5 changed files
with
19 additions
and
17 deletions
Show diff stats
app/models/external_person.rb
... | ... | @@ -3,15 +3,11 @@ class ExternalPerson < ExternalProfile |
3 | 3 | |
4 | 4 | include Human |
5 | 5 | include ProfileEntity |
6 | -<<<<<<< HEAD | |
7 | 6 | include Follower |
8 | - include Followable | |
9 | 7 | |
10 | 8 | has_many :profile_followers, :as => :profile |
11 | 9 | has_many :circles, :through => :profile_followers |
12 | 10 | has_many :owned_circles, as: :owner, :class_name => "Circle" |
13 | -======= | |
14 | ->>>>>>> parent of bfbd548... Revert "Adds new ExternalProfile module and refactor ExternalPerson" | |
15 | 11 | |
16 | 12 | validates_uniqueness_of :identifier, scope: :source |
17 | 13 | |
... | ... | @@ -138,7 +134,6 @@ class ExternalPerson < ExternalProfile |
138 | 134 | } |
139 | 135 | end |
140 | 136 | |
141 | -<<<<<<< HEAD | |
142 | 137 | # External Person should respond to all methods in Person and Profile |
143 | 138 | def person_instance_methods |
144 | 139 | methods_and_responses = { |
... | ... | @@ -272,6 +267,4 @@ class ExternalPerson < ExternalProfile |
272 | 267 | end |
273 | 268 | derivated_methods |
274 | 269 | end |
275 | -======= | |
276 | ->>>>>>> parent of bfbd548... Revert "Adds new ExternalProfile module and refactor ExternalPerson" | |
277 | 270 | end | ... | ... |
app/models/external_profile.rb
db/migrate/20160822110424_rename_external_people_to_external_profiles.rb
db/migrate/20160829170524_rename_external_people_to_external_profiles.rb
0 → 100644
db/migrate/20160829185118_add_type_to_external_profile.rb
0 → 100644