source 'http://rubygems.org'

gem 'rails', '3.0.7'

# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'sqlite3'

group :development, :test do
 gem 'rspec-rails'
end
$ bundle install
describe Book do
 describe :create do
  it "Book                     " do
    Book.count.should == 0
    Book.create({ title: "RBC ", description: "   ", read: false})
    Book.count.should == 1
  end
end
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所
Rails3勘所

Rails3勘所

  • 18.
    source 'http://rubygems.org' gem 'rails','3.0.7' # Bundle edge Rails instead: # gem 'rails', :git => 'git://github.com/rails/rails.git' gem 'sqlite3' group :development, :test do gem 'rspec-rails' end
  • 19.
  • 23.
    describe Book do describe :create do it "Book " do Book.count.should == 0 Book.create({ title: "RBC ", description: " ", read: false}) Book.count.should == 1 end end

Editor's Notes

  • #2 \n
  • #3 \n
  • #4 \n
  • #5 \n
  • #6 \n
  • #7 \n
  • #8 \n
  • #9 分散バージョン管理システム\nWEBベースのプロジェクト管理システム\n
  • #10 分散バージョン管理システム\nWEBベースのプロジェクト管理システム\n
  • #11 \n
  • #12 フルスタック…全部入り\n\n
  • #13 \n
  • #14 \n
  • #15 \n
  • #16 \n\n
  • #17 \n
  • #18 \n\n
  • #19 \n\n
  • #20 分散バージョン管理システム\nWEBベースのプロジェクト管理システム\n
  • #21 \n
  • #22 \n\n
  • #23 \n\n
  • #24 \n\n
  • #25 \n\n
  • #26 \n
  • #27 \n\n
  • #28 \n\n
  • #29 \n
  • #30 \n\n
  • #31 まだまだRails3のことについて記載された本は少ない\n
  • #32 \n
  • #33 電子書籍\n
  • #34 \n
  • #35 ぜひRuby開発サーバの検討をよろしくお願いいたします\n