Add call to manually_sync!() in FarmEvents::Create
parent
0a2584542d
commit
a0096263b6
|
@ -33,9 +33,10 @@ module FarmEvents
|
|||
FarmEvent.silently do
|
||||
FarmEvent.transaction do
|
||||
handle_body_field
|
||||
farm_event.update_attributes!(p) && farm_event
|
||||
farm_event.update_attributes!(p)
|
||||
end
|
||||
end
|
||||
farm_event.manually_sync!
|
||||
end
|
||||
|
||||
def validate_ownership
|
||||
|
|
Loading…
Reference in New Issue