End cap 7 ActiveRecord