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
> 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?
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.
Sent from my iPad
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Documentation" group.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To unsubscribe from this group, send email to rubyonrails-do...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/rubyonrails-docs?hl=en.
>
>
You're welcome Xavier!