Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Rails3勘所

1,170 views

Published on

Published in: Technology, Education
  • Be the first to comment

  • Be the first to like this

Rails3勘所

  1. 1. source http://rubygems.orggem rails, 3.0.7# Bundle edge Rails instead:# gem rails, :git => git://github.com/rails/rails.gitgem sqlite3group :development, :test do gem rspec-railsend
  2. 2. $ bundle install
  3. 3. describe Book do describe :create do it "Book " do Book.count.should == 0 Book.create({ title: "RBC ", description: " ", read: false}) Book.count.should == 1 endend

×