Pages 8, 12 and 13 seem to be containing the error. If you can reproduce that it would be great!
Jan 17, 2017
My tutorial on Toefl reading comprehension and my fun little book The Joy Of Toefl!
A:
Here is a simple solution.
Create a file named "bad.md" in the same folder as the index.md file. Put this code into it.
```
Hello
```
Index.md
```md
---
layout: default
title: "Hello"
---
```
To check, change the name of the file to "good.md" and run go build again. This will trigger the error. You can then see the difference between the good and bad.md files by comparing the contents of the error log with the output of cat bad.md and cat good.md.
Q:
how can I iterate through a string in rails3?
I need to get the id's from a string like this:
/id1/id2/id3/id4/id5/id6/id7/id8/id9
I tried to write this code but its not working:
I also tried this:
Both of these give me an error:
undefined method `split' for "/id1/id2/id3/id4/id5/id6/id7/id8/id9"
I know there must be a simple solution.
Please help.
A:
You should check out String#split, String#split with separator, and String#chunk.
/id1/id2/id3/id4/id5/id6/id7/id8/id9 be359ba680
Related links:
Comments