Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
code section missing line breaks
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Rajinder Yadav  
View profile  
 More options Oct 29 2010, 2:34 am
From: Rajinder Yadav <devguy...@gmail.com>
Date: Fri, 29 Oct 2010 02:34:07 -0400
Local: Fri, Oct 29 2010 2:34 am
Subject: code section missing line breaks
I just did a pull, on page 'Getting Started with Rails' I noticed all
code sample section are messed up, missing newline? is this a css error?

I am seeing:

class CreatePosts < ActiveRecord::Migration def self.up create_table
:posts do |t| t.string :name t.string :title t.text :content
t.timestamps end end def self.down drop_table :posts end end

When I should see

class CreatePosts < ActiveRecord::Migration
   def self.up
     create_table :posts do |t|
       t.string :name
       t.string :title
       t.text :content

       t.timestamps
     end
   end

   def self.down
     drop_table :posts
   end
end

--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Noria  
View profile  
 More options Oct 29 2010, 5:03 am
From: Xavier Noria <f...@hashref.com>
Date: Fri, 29 Oct 2010 11:03:57 +0200
Local: Fri, Oct 29 2010 5:03 am
Subject: Re: [Rails-docs] code section missing line breaks

On Fri, Oct 29, 2010 at 8:34 AM, Rajinder Yadav <devguy...@gmail.com> wrote:
> I just did a pull, on page 'Getting Started with Rails' I noticed all code
> sample section are messed up, missing newline? is this a css error?

> I am seeing:

> class CreatePosts < ActiveRecord::Migration def self.up create_table :posts
> do |t| t.string :name t.string :title t.text :content t.timestamps end end
> def self.down drop_table :posts end end

I see it OK in

    http://edgeguides.rubyonrails.org/getting_started.html

Which browser are you using?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajinder Yadav  
View profile  
 More options Oct 29 2010, 1:16 pm
From: Rajinder Yadav <devguy...@gmail.com>
Date: Fri, 29 Oct 2010 13:16:30 -0400
Local: Fri, Oct 29 2010 1:16 pm
Subject: Re: [Rails-docs] code section missing line breaks

yes that looks good, however the one I built locally last night after
a git pull is showing everything as a big continuous line? I've done
this many times in the past followed by a

rake generate_guides

the other guide pages seem ok, I am using FF 3.6.12

I can check again when I get home, I'll do a clean clone also and report back.

--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajinder Yadav  
View profile  
 More options Oct 29 2010, 8:15 pm
From: Rajinder Yadav <devguy...@gmail.com>
Date: Fri, 29 Oct 2010 20:15:17 -0400
Local: Fri, Oct 29 2010 8:15 pm
Subject: Re: [Rails-docs] code section missing line breaks
On 10-10-29 05:03 AM, Xavier Noria wrote:
> On Fri, Oct 29, 2010 at 8:34 AM, Rajinder Yadav<devguy...@gmail.com>  wrote:

>> I just did a pull, on page 'Getting Started with Rails' I noticed all code
>> sample section are messed up, missing newline? is this a css error?

>> I am seeing:

>> class CreatePosts<  ActiveRecord::Migration def self.up create_table :posts
>> do |t| t.string :name t.string :title t.text :content t.timestamps end end
>> def self.down drop_table :posts end end

> I see it OK in

i deleted the output folder and generated the guide again, everything
looks ok now.

--
Kind Regards,
Rajinder Yadav | DevMentor.org | Do Good! ~ Share Freely

GNU/Linux: 2.6.35-22-generic
Kubuntu x86_64 10.10 | KDE 4.5.1
Ruby 1.9.2p0 | Rails 3.0.1


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Noria  
View profile  
 More options Oct 30 2010, 3:26 am
From: Xavier Noria <f...@hashref.com>
Date: Sat, 30 Oct 2010 09:26:27 +0200
Local: Sat, Oct 30 2010 3:26 am
Subject: Re: [Rails-docs] code section missing line breaks
Excellent Rajinder, thanks for the heads up.

Sent from my iPad


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rajinder Yadav  
View profile  
 More options Oct 30 2010, 10:34 pm
From: Rajinder Yadav <devguy...@gmail.com>
Date: Sat, 30 Oct 2010 22:34:26 -0400
Local: Sat, Oct 30 2010 10:34 pm
Subject: Re: [Rails-docs] code section missing line breaks
On 10-10-30 03:26 AM, Xavier Noria wrote:

> Excellent Rajinder, thanks for the heads up.

> Sent from my iPad

> On Saturday, October 30, 2010, Rajinder Yadav<devguy...@gmail.com>  wrote:
>> On 10-10-29 05:03 AM, Xavier Noria wrote:

You're welcome Xavier!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »