base/app/models/actor.rb in social_stream-0.10.4 vs base/app/models/actor.rb in social_stream-0.11.0
- old
+ new
@@ -13,12 +13,10 @@
class Actor < ActiveRecord::Base
@subtypes_name = :subject
include SocialStream::Models::Supertype
include SocialStream::Models::Object
- delegate :tag_list, :tag_list=, :tagged_with, :tag_counts, :to => :activity_object
-
validates_presence_of :name, :subject_type
acts_as_messageable
acts_as_url :name, :url_attribute => :slug
@@ -157,10 +155,10 @@
receiver_emails = receiver.mailboxer_email(object)
case receiver_emails
when String
emails << receiver_emails
when Array
- receveir_emails.each do |receveir_email|
+ receiver_emails.each do |receiver_email|
emails << receiver_email
end
end
end
return emails