lib/rumblr/user.rb in jamescallmebrent-rumblr-0.0.1 vs lib/rumblr/user.rb in jamescallmebrent-rumblr-0.0.2

- old
+ new

@@ -6,11 +6,11 @@ def tumblelogs instance_variable_get(:@tumblelogs) || [] end def primary_tumblelog - self.tumblelogs.find { |log| log.is_primary } + self.tumblelogs.find { |log| log.primary? } end class << self def login(attrs={}) email, password = attrs[:email], attrs[:password] @@ -18,6 +18,6 @@ end end end -end \ No newline at end of file +end