Plugin example not working
Hi, I've followed the example for creating a plugin ( https://help.loomio.org/en/dev_manual/plugins/ ) but the "Hello, World!" message is not printed when I run "rails c". Any suggestions on how to get this working?
I've tried adding plugin.enabled = true, but no luck. Here is the most recent code I've tried (placed in plugins/loomio_tags/plugin.rb):
# plugins/loomio_tags/plugin.rb module Plugins module LoomioTags class Plugin < Plugins::Base setup! :loomio_tags do |plugin| # our code will go here! plugin.enabled = true puts "Hello, world!" end end end end