ruby - Dynamic CSS generation doesn't work in Rails4 -
The following code is not working, according to me 'read-more-105', 'more -106 etc., tale According to .id's vale
and lt;% = simple_format truncate (plot.description, length: char_counter) {link_to "Read more", "Category:" Read-more- & lt; % Tale.id% & gt; '}%>
You need string projection here:
& Lt;% = Simple_Format Trunket (Plot Discription, Length: Charles), {link_to "Read more", "Category:" Read-more - # {narration}} "}% & Gt;
As you <%%> a
and <%%>
or & lt;% =% & gt; < / Code>.
Comments
Post a Comment