eqn is a Ruby gem to allow safe evaluation of mathematical equations, respecting order of operations and supporting limited functions. Written using the Treetop parser generator to ensure consistent adherence to the equation grammar. Open source.


calculated_attributes is a Ruby gem to allow for addition of custom attributes such as relation counts to ActiveRecord queries, which allows avoidance of n+1 queries and similar performance problems even on complex relations. Open source.