Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Ruby & Rules Engines

I'm looking for a simple way to let users define a set of rules to filter objects.

Eg. let them define something like "notify me about a booking if booking date < 2009/04/30 AND value > 100.00"

More or less: I'd like to have a Ruby rules engine with custom DSL.

Is there a library offering that? Came across Ruleby, but it doesn't support custom DSL, yet.

What's the best apporach to do that?

like image 294
Matt Avatar asked May 04 '09 14:05

Matt


People also ask

What does Ruby symbolize?

For centuries, rubies have signified passion, protection, and wealth. Ancient warriors in Burma and China adorned their armor with the gem to provide protection in battle. Some went as far as inserting the gems into their flesh, believing it created invincibility. The ruby has become a symbol of love and commitment.

What does Ruby mean spiritually?

It has been associated with improved energy and concentration, creativity, loyalty, honor and compassion. Ruby is thought to be protective of home, possessions and family. Ruby is said to stimulate heart chakra and bring spiritual wisdom while shielding against psychic attacks.

What is special about Ruby?

Ruby is distinguished for its bright red color, being the most famed and fabled red gemstone. Beside for its bright color, it is a most desirable gem due to its hardness, durability, luster, and rarity. Transparent rubies of large sizes are even rarer than Diamonds. Ruby is the red variety of the mineral Corundum.

What does Ruby stone do?

It is also known to increase creativity, spirituality, confidence, and wisdom. The stone is associated with the Manipura Chakra, which is the navel of the body. Wearing this gemstone helps to unlock this chakra, instils in the wearer, a sense of responsibility, and promotes leadership qualities.


1 Answers

Have a look at the wongi-engine gem it is a new rules engine based on the Rete algorithm that is gathering a fair bit of attention lately.

like image 107
cwadding Avatar answered Nov 20 '22 21:11

cwadding