Skip to content

Instantly share code, notes, and snippets.

@bluehallu
Created August 3, 2012 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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