             transaction.iter (story) ->
                 story.Name = 'Something Else'
                 issue = Story.create_in_context('Issue', {Name: 'New Issue'})
-            transaction.commit log_transaction_callback
+            transaction.commit and_log_it
 
 
 v1.with_poller (poller) ->


V1Meta = require('./v1meta').V1Meta

v1 = new V1Meta()

now = () -> new Date().toISOString()

log_transaction_callback = (err, updated_asset) ->
    if err?
        console.log "Error!"
    else

        (story) ->
            console.log story
            story.Touched = now()
    poller.commit and_log_it

    
