added composite key to LineItem and updated rails