bumped version of order_by_primary_key
removed rails dependency