Remove StraightLine::Convention in lib/straight_line/conventions. replace inheritance in lib/straight_line/half_year and lib/straight_line/mid_quarter from StraightLine::Convention to just Convention, this should allow to inherit from ActiveRecord::Base