Skip to content

Commit

Permalink
allowing object before hash mongoid3.0 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hookercookerman committed Jul 17, 2012
1 parent b2e770b commit 4f5d6a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/streama/activity.rb
Expand Up @@ -12,6 +12,8 @@ module Activity
field :object, :type => Hash
field :target_object, :type => Hash
field :receivers, :type => Array

attr_accessor :actor, :target_object, :object

index :name => 1
index({ 'actor._id' => 1, 'actor._type' => 1 })
Expand Down

0 comments on commit 4f5d6a9

Please sign in to comment.