When your Ruby project grows, you may use enterprise gems or want to extract some business logic into private gems. How can we efficiently manage gem credentials across the team?
Having a thousand lines long controllers and/or models is not the right way to have sustainable applications or developers' sanity. Let's look at my solution for business logic in the Rails app.
Let’s see what we can do with them in a multilingual Rails app with a little help from PORO (Plain Old Ruby Object).
Easily allow users to undo removing of deleted items using modern Rails flash messages. The second part of the tutorial with full code on GitHub and live demo.
One way how to get rid of the repetitive and annoying “Are you sure?” question when deleting records using modern Rails flash messages.