Read more

Consul 0.4.2 improves querying of nil powers

Henning Koch
December 14, 2012Software engineer at makandra GmbH

Previous versions of Consul Show archive.org snapshot exhibited strange behavior when querying a power that returns nil.

Illustration UI/UX Design

UI/UX Design by makandra brand

We make sure that your target audience has the best possible experience with your digital product. You get:

  • Design tailored to your audience
  • Proven processes customized to your needs
  • An expert team of experienced designers
Read more Show archive.org snapshot

Consul 0.4.2+ behaves as expected:

power.notes # => returns nil
power.notes? # => returns false
power.notes! # => raises Consul::Powerless
power.note?(Note.last) # => returns false
power.note!(Note.last) # => raises Consul::Powerless
Posted by Henning Koch to makandra dev (2012-12-14 17:02)