I found where we needed the one-line addition. Ruby 1.9 build now works.
I feel pretty badass.
This commit is contained in:
parent
2cf4350fab
commit
44bd4534ce
2 changed files with 264 additions and 263 deletions
|
|
@ -239,6 +239,7 @@ class User
|
||||||
end
|
end
|
||||||
|
|
||||||
def push_to_person(salmon, post, person)
|
def push_to_person(salmon, post, person)
|
||||||
|
person.reload # Sadly, we need this for Ruby 1.9.
|
||||||
# person.owner will always return a ProxyObject.
|
# person.owner will always return a ProxyObject.
|
||||||
# calling nil? performs a necessary evaluation.
|
# calling nil? performs a necessary evaluation.
|
||||||
unless person.owner.nil?
|
unless person.owner.nil?
|
||||||
|
|
|
||||||
526
spec/fixtures/users.yaml
vendored
526
spec/fixtures/users.yaml
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue