You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hairtrigger gem is broken if used in combination with fx gem >= 0.6.0.
$ rake db:migrate
...
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
unknown keywords: :generated, :compatibility
/home/user/.rvm/gems/ruby-2.7.2@app/gems/fx-0.6.0/lib/fx/statements/trigger.rb:30:in `create_trigger'
It works fine with fx version 0.5.0.
The text was updated successfully, but these errors were encountered:
Meanwhile I have patched the fx code, to disable trigger functionality (because we use only the function functionality of fx):
# config/initializers/fx.rbmoduleFx# Monkey patch module Function to disable unused trigger functionality.moduleStatements# Methods that are made available in migrations for managing Fx triggers.moduleTriggerdefcreate_trigger(*args)# rubocop:disable Lint/UselessMethodDefinitionsuperenddefdrop_trigger(*args)# rubocop:disable Lint/UselessMethodDefinitionsuperenddefupdate_trigger(*args)# rubocop:disable Lint/UselessMethodDefinitionsuperendendendend
hairtrigger
gem is broken if used in combination withfx
gem >= 0.6.0.It works fine with
fx
version 0.5.0.The text was updated successfully, but these errors were encountered: