Sorry, I forgot to answer. You can put in your lib directory, and you will have to add it to ActiveScaffold::Bridges, or manually call run method of your bridge in an initializer.
ActiveScaffold use ActiveScaffold::Bridges.register with path, but it expects active_scaffold/ bridges/<bridge_name>.rb path, so you should put file in lib/active_scaffold/bridges/ <bridge_name>.rb, then add ActiveScaffold::Bridges.register 'active_scaffold/bridges/ <bridge_name>.rb' to an initializer. Also, you could add it manually to ActiveScaffold::Bridges.bridges[:bridge_name] = BridgeClass Regards, Sergio El lunes, 28 de octubre de 2019 0:03:12 (CET) Gloufy escribió: Hi !! Where I can put the files for a custom bridge in my application ? I'm trying to create the active storage bridge Thank you for your help Gloufy -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group.To unsubscribe from this group and stop receiving emails from it, send an email to [email protected][1].To view this discussion on the web visit https://groups.google.com/d/msgid/activescaffold/7bcd2dbd-3f2f-4977-bcb0-167b152dac71%40googlegroups.com[2]. -------- [1] mailto:[email protected] [2] https://groups.google.com/d/msgid/activescaffold/7bcd2dbd-3f2f-4977-bcb0-167b152dac71%40googlegroups.com?utm_medium=email&utm_source=footer -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails Gem" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/activescaffold/12117711.coU9naKM8u%40pc-sergio.
