Best practices for managing pricing/discount business rules on rails -


Developing separate applications and we've found that both pricing / discount rules are usually needed to manage them.

Scenario: Say that you have a conference registration application and depending on which application you use, you can choose to offer different price plans. $ 50 1 Presence $ 40> 5 Attendees get 3 free attendees and $ 30 each additional payment

Instead of baking in particular in these rules, it would be good to summarize in some way so that the rule time To change with. By the conference

What's the best way to deal with this? Are there plugs in Rails? We have searched both, but do not have to find a solution yet.

I think you should take a look. I have not used myself, but it still means finding time to experiment with it. It should properly solve these problems.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -