Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typo in "Getting Started with Rails", section 3.3 #5292

Closed
leisti opened this issue Mar 5, 2012 · 6 comments
Closed

typo in "Getting Started with Rails", section 3.3 #5292

leisti opened this issue Mar 5, 2012 · 6 comments
Assignees
Labels

Comments

@leisti
Copy link

leisti commented Mar 5, 2012

In the blue box, there's the following piece of code:

cd .. && rails new blog —database=mysql

The long dash ("—") just before the word "database" should be replaced by two ordinary dashes ("--"), The writer probably originally did write that, but it must have been mangled by an editor.

@radar
Copy link
Contributor

radar commented Mar 5, 2012

Pinging @fxn about this. Similar issue in the edge engines guide with this text "Rails - as indicated by the --full".

@fxn
Copy link
Member

fxn commented Mar 5, 2012

Thanks guys, might be a markup detail I'll have a look into it.

@ghost ghost assigned fxn Mar 5, 2012
@radar
Copy link
Contributor

radar commented Mar 5, 2012

You know if we switched to Markdown we wouldn't have these problems :trollface: runs

@fxn
Copy link
Member

fxn commented Mar 5, 2012

haha

@vijaydev
Copy link
Member

1.9.3-p125 :007 > require 'redcloth'
 => false 
1.9.3-p125 :008 > t = RedCloth.new("--database")
 => "--database" 
1.9.3-p125 :009 > t.to_html
 => "<p>&#8212;database</p>" 

See http://redcloth.org/textile/writing-paragraph-text/#dashes

@carlosantoniodasilva
Copy link
Member

Is there any pointers on how to fix this possible issue, given it's how RedCloth handles it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants