Commit 8c1e8d15ad4f8b8d69ba2465a0e722722bd0c519
Committed by
Rodrigo Souto
1 parent
addf3a33
Exists in
master
and in
29 other branches
api: fixing conflit on merge
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
app/models/profile.rb
... | ... | @@ -100,12 +100,12 @@ class Profile < ActiveRecord::Base |
100 | 100 | scope :no_templates, {:conditions => {:is_template => false}} |
101 | 101 | |
102 | 102 | #FIXME make this test |
103 | - named_scope :newer_than, lambda { |reference_id| | |
103 | + scope :newer_than, lambda { |reference_id| | |
104 | 104 | {:conditions => ["profiles.id > #{reference_id}"]} |
105 | 105 | } |
106 | 106 | |
107 | 107 | #FIXME make this test |
108 | - named_scope :older_than, lambda { |reference_id| | |
108 | + scope :older_than, lambda { |reference_id| | |
109 | 109 | {:conditions => ["profiles.id < #{reference_id}"]} |
110 | 110 | } |
111 | 111 | ... | ... |
test/unit/person_test.rb
... | ... | @@ -1524,7 +1524,6 @@ class PersonTest < ActiveSupport::TestCase |
1524 | 1524 | end |
1525 | 1525 | end |
1526 | 1526 | |
1527 | -<<<<<<< HEAD | |
1528 | 1527 | should 'have a list of suggested people to be friend' do |
1529 | 1528 | person = create_user('person').person |
1530 | 1529 | suggested_friend = fast_create(Person) | ... | ... |