Ask A Question


You’re not receiving notifications from this thread.

How to use "ensure" in Ruby Discussion

Having GoRails sprinkled with some savory dishes like this one would be extremely useful in my opinion. πŸ‘


Thanks Chris! Found this very helpful and would definitely appreciate more content like this in the future.


Seconding (thirding?) what Eric and Sharon wrote. I really like these sort of quick-hitters. I've known and, on occasion, used ensure before but seeing this, I realize there are several places in our apps at work that I can use/should have used ensure more.


This is amazing.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 82,969+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.