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
--
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 activescaffol...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/activescaffold/7bcd2dbd-3f2f-4977-bcb0-167b152dac71%40googlegroups.com.