\n
would definitely work. I am not sure how you used \n
and it didn't work out for you.
Change your create
method call by including \n
as below:
Store.create(
opening_hours: 'Mon. to Fri. 8:30 - 9:00PM\nSaturday 8:30 - 7:00 PM\nSunday 11:00 - 7:00 PM',
latitude: 53,
longitude: -7,
title: 'test store Cavan',
street_line_one: 'test Retail Park',
street_line_two: 'test Road',
town: 'Cavan',
county: 'Cavan',
country: 'Ireland')
UPDATE
As per the chat session. OP opted for adding the code in its entirety in html to the seed file to get the correct format.