I found where we needed the one-line addition. Ruby 1.9 build now works.

I feel pretty badass.
This commit is contained in:
Sarah Mei 2010-11-15 22:44:55 -08:00
parent 2cf4350fab
commit 44bd4534ce
2 changed files with 264 additions and 263 deletions

View file

@ -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?

File diff suppressed because it is too large Load diff