2014-05-06 60 views

回答

5

可以逃脫撇號與反斜線:

<%= text_area_tag 'store', '', class: 'form-control', placeholder: 'Please enter the store\'s address' %> 

或使用字符串文字加上引號:

<%= text_area_tag 'store', '', class: 'form-control', placeholder: "Please enter the store's address" %>