4 ms·
Use a Sinatra app and include ActiveRecord. There are a few gotchas like making sure to clear connections at the end of requests. https://stackoverflow.com/que
by ewalk153 7y ago
Use a Sinatra app and include ActiveRecord. There are a few gotchas like making sure to clear connections at the end of requests.
https://stackoverflow.com/questions/41400202/replacing-activerecordconnectionadaptersconnectionmanagement-in-activerecord https://stackoverflow.com/questions/41400202/replacing-activ...
I’d love to see more examples of picking pieces of rails and combining with other libraries.
- _hardwaregeek 7y agoThe only concern I have is that because AR isn't designed as a separate gem, there's no guarantees about breaking changes. But I suppose that's unlikely.