Skip to content

Instantly share code, notes, and snippets.

@bluehallu
Created August 3, 2012 14:09
Show Gist options
  • Save bluehallu/3247976 to your computer and use it in GitHub Desktop.
Save bluehallu/3247976 to your computer and use it in GitHub Desktop.
unless $RAKE_TASK # don't register participants in rake tasks
RuoteKit.engine.register do
# register your own participants using the participant method
#
# Example: participant 'alice', Ruote::StorageParticipant see
# http://ruote.rubyforge.org/participants.html for more info
# register the catchall storage participant named '.+'
bob Ruote::StorageParticipant
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment