ݺߣ

ݺߣShare a Scribd company logo
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
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
鲹3
鲹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
  end
end
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3
鲹3

More Related Content

What's hot (20)

Rails 3.1 Awesomeness - what's new
Rails 3.1 Awesomeness - what's newRails 3.1 Awesomeness - what's new
Rails 3.1 Awesomeness - what's new
Dynamic Clarity
?
CouchDB: A NoSQL database
CouchDB: A NoSQL databaseCouchDB: A NoSQL database
CouchDB: A NoSQL database
Rubyc ݺߣs
?
Bundler is the Best
Bundler is the BestBundler is the Best
Bundler is the Best
dead_arm
?
Babushka
BabushkaBabushka
Babushka
Richard McGain
?
Your first sinatra app
Your first sinatra appYour first sinatra app
Your first sinatra app
Rubyc ݺߣs
?
Chef solo the beginning
Chef solo the beginning Chef solo the beginning
Chef solo the beginning
A.K.M. Ahsrafuzzaman
?
xml-motor ~ What,Why,How
xml-motor ~ What,Why,Howxml-motor ~ What,Why,How
xml-motor ~ What,Why,How
Abhishek Kumar
?
CoffeeScript, An Introduction for Nodejs developers
CoffeeScript, An Introduction for Nodejs developersCoffeeScript, An Introduction for Nodejs developers
CoffeeScript, An Introduction for Nodejs developers
Mehdi Valikhani
?
Introduction to chef framework
Introduction to chef frameworkIntroduction to chef framework
Introduction to chef framework
morgoth
?
Drupal + selenium
Drupal + seleniumDrupal + selenium
Drupal + selenium
hernanibf
?
Mojolicious: what works and what doesn't
Mojolicious: what works and what doesn'tMojolicious: what works and what doesn't
Mojolicious: what works and what doesn't
Cosimo Streppone
?
Reasons To Love Ruby
Reasons To Love RubyReasons To Love Ruby
Reasons To Love Ruby
Ben Scheirman
?
Custom Non-RDS Multi-AZ Mysql Replication
Custom Non-RDS Multi-AZ Mysql ReplicationCustom Non-RDS Multi-AZ Mysql Replication
Custom Non-RDS Multi-AZ Mysql Replication
Michael H. Oshita
?
Ember background basics
Ember background basicsEmber background basics
Ember background basics
Philipp Fehre
?
Bower introduction
Bower introductionBower introduction
Bower introduction
Oleksii Prohonnyi
?
Generate everything!
Generate everything!Generate everything!
Generate everything!
Razvan Pavel
?
Vagrant
VagrantVagrant
Vagrant
Fedir RYKHTIK
?
Advanced JavaScript build pipelines using Gulp.js
Advanced JavaScript build pipelines using Gulp.jsAdvanced JavaScript build pipelines using Gulp.js
Advanced JavaScript build pipelines using Gulp.js
Stefan Baumgartner
?
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTERSINATRA + HAML + TWITTER
SINATRA + HAML + TWITTER
Elber Ribeiro
?
Plumbin Pipelines - A Gulp.js workshop
Plumbin Pipelines - A Gulp.js workshopPlumbin Pipelines - A Gulp.js workshop
Plumbin Pipelines - A Gulp.js workshop
Stefan Baumgartner
?
Rails 3.1 Awesomeness - what's new
Rails 3.1 Awesomeness - what's newRails 3.1 Awesomeness - what's new
Rails 3.1 Awesomeness - what's new
Dynamic Clarity
?
CouchDB: A NoSQL database
CouchDB: A NoSQL databaseCouchDB: A NoSQL database
CouchDB: A NoSQL database
Rubyc ݺߣs
?
Bundler is the Best
Bundler is the BestBundler is the Best
Bundler is the Best
dead_arm
?
Your first sinatra app
Your first sinatra appYour first sinatra app
Your first sinatra app
Rubyc ݺߣs
?
CoffeeScript, An Introduction for Nodejs developers
CoffeeScript, An Introduction for Nodejs developersCoffeeScript, An Introduction for Nodejs developers
CoffeeScript, An Introduction for Nodejs developers
Mehdi Valikhani
?
Introduction to chef framework
Introduction to chef frameworkIntroduction to chef framework
Introduction to chef framework
morgoth
?
Drupal + selenium
Drupal + seleniumDrupal + selenium
Drupal + selenium
hernanibf
?
Mojolicious: what works and what doesn't
Mojolicious: what works and what doesn'tMojolicious: what works and what doesn't
Mojolicious: what works and what doesn't
Cosimo Streppone
?
Custom Non-RDS Multi-AZ Mysql Replication
Custom Non-RDS Multi-AZ Mysql ReplicationCustom Non-RDS Multi-AZ Mysql Replication
Custom Non-RDS Multi-AZ Mysql Replication
Michael H. Oshita
?
Ember background basics
Ember background basicsEmber background basics
Ember background basics
Philipp Fehre
?
Advanced JavaScript build pipelines using Gulp.js
Advanced JavaScript build pipelines using Gulp.jsAdvanced JavaScript build pipelines using Gulp.js
Advanced JavaScript build pipelines using Gulp.js
Stefan Baumgartner
?
SINATRA + HAML + TWITTER
SINATRA + HAML + TWITTERSINATRA + HAML + TWITTER
SINATRA + HAML + TWITTER
Elber Ribeiro
?
Plumbin Pipelines - A Gulp.js workshop
Plumbin Pipelines - A Gulp.js workshopPlumbin Pipelines - A Gulp.js workshop
Plumbin Pipelines - A Gulp.js workshop
Stefan Baumgartner
?

Viewers also liked (18)

North Eastern Arms
North Eastern ArmsNorth Eastern Arms
North Eastern Arms
UK-Resource
?
2009.08.20 Fisaߥʩ`2009.08.20 Fisaߥʩ`
2009.08.20 Fisaߥʩ`
Hiroshi Nakao
?
봳԰쾱Բ
봳԰쾱Բ봳԰쾱Բ
봳԰쾱Բ
Hiroshi Nakao
?
Libra meter meter buddy handbook
Libra meter   meter buddy handbookLibra meter   meter buddy handbook
Libra meter meter buddy handbook
Hilda Bernab
?
Ϥ/
Ϥ/Ϥ/
Ϥ/
Hiroshi Nakao
?
AutismoAutismo
Autismo
guest11ab92
?
UKR Capabilities Statement
UKR Capabilities StatementUKR Capabilities Statement
UKR Capabilities Statement
UK-Resource
?
Emat689 June09
Emat689 June09Emat689 June09
Emat689 June09
Swilley Library
?
M U S E
M U S EM U S E
M U S E
punkCAT
?
Bluetooth
BluetoothBluetooth
Bluetooth
Paulvin90
?
Malaysia Boleh
Malaysia BolehMalaysia Boleh
Malaysia Boleh
guesta34d35
?
Actividad 10-4Actividad 10-4
Actividad 10-4
Hilda Bernab
?
Cisco Collaboration Summit 2012 Keynote
Cisco Collaboration Summit 2012 KeynoteCisco Collaboration Summit 2012 Keynote
Cisco Collaboration Summit 2012 Keynote
Lynn Lucas
?
2014.06.13 - Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...
2014.06.13 -  Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...2014.06.13 -  Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...
2014.06.13 - Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...
PartnerWin - #SocialSelling StarterPacks
?
Adecuacion curricular-a-partir-de-las-necesidades-educativas-especialesAdecuacion curricular-a-partir-de-las-necesidades-educativas-especiales
Adecuacion curricular-a-partir-de-las-necesidades-educativas-especiales
Hilda Bernab
?
The Dust Bowl
The Dust BowlThe Dust Bowl
The Dust Bowl
kool_aid_kyle
?
Simce 2   4 bsicos - slideshareSimce 2   4 bsicos - slideshare
Simce 2 4 bsicos - slideshare
jaime Carvajal
?
UKR Sugar Refining
UKR Sugar RefiningUKR Sugar Refining
UKR Sugar Refining
UK-Resource
?
2009.08.20 Fisaߥʩ`2009.08.20 Fisaߥʩ`
2009.08.20 Fisaߥʩ`
Hiroshi Nakao
?
Libra meter meter buddy handbook
Libra meter   meter buddy handbookLibra meter   meter buddy handbook
Libra meter meter buddy handbook
Hilda Bernab
?
AutismoAutismo
Autismo
guest11ab92
?
UKR Capabilities Statement
UKR Capabilities StatementUKR Capabilities Statement
UKR Capabilities Statement
UK-Resource
?
Actividad 10-4Actividad 10-4
Actividad 10-4
Hilda Bernab
?
Cisco Collaboration Summit 2012 Keynote
Cisco Collaboration Summit 2012 KeynoteCisco Collaboration Summit 2012 Keynote
Cisco Collaboration Summit 2012 Keynote
Lynn Lucas
?
2014.06.13 - Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...
2014.06.13 -  Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...2014.06.13 -  Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...
2014.06.13 - Cloud Brokerage, Pourquoi, Comment ? - IBM #CloudAccelerate - L...
PartnerWin - #SocialSelling StarterPacks
?
Adecuacion curricular-a-partir-de-las-necesidades-educativas-especialesAdecuacion curricular-a-partir-de-las-necesidades-educativas-especiales
Adecuacion curricular-a-partir-de-las-necesidades-educativas-especiales
Hilda Bernab
?
Simce 2   4 bsicos - slideshareSimce 2   4 bsicos - slideshare
Simce 2 4 bsicos - slideshare
jaime Carvajal
?

Recently uploaded (20)

SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...
SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...
SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...
IBsolution GmbH
?
STARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to PonderSTARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to Ponder
anupriti
?
202408_JAWSPANKRATION_Introduction_of_Minaden.pdf
202408_JAWSPANKRATION_Introduction_of_Minaden.pdf202408_JAWSPANKRATION_Introduction_of_Minaden.pdf
202408_JAWSPANKRATION_Introduction_of_Minaden.pdf
NTTDOCOMO-ServiceInnovation
?
How to manage technology risk and corporate growth
How to manage technology risk and corporate growthHow to manage technology risk and corporate growth
How to manage technology risk and corporate growth
Arlen Meyers, MD, MBA
?
When Platform Engineers meet SREs - The Birth of O11y-as-a-Service Superpowers
When Platform Engineers meet SREs - The Birth of O11y-as-a-Service SuperpowersWhen Platform Engineers meet SREs - The Birth of O11y-as-a-Service Superpowers
When Platform Engineers meet SREs - The Birth of O11y-as-a-Service Superpowers
Eric D. Schabell
?
UiPath Automation Developer Associate Training Series 2025 - Session 8
UiPath Automation Developer Associate Training Series 2025 - Session 8UiPath Automation Developer Associate Training Series 2025 - Session 8
UiPath Automation Developer Associate Training Series 2025 - Session 8
DianaGray10
?
The Rise of AI Agents-From Automation to Autonomous Technology
The Rise of AI Agents-From Automation to Autonomous TechnologyThe Rise of AI Agents-From Automation to Autonomous Technology
The Rise of AI Agents-From Automation to Autonomous Technology
Impelsys Inc.
?
UiPath Agentic automation with Autopilot for everyone + new features/releases
UiPath Agentic  automation with Autopilot for everyone + new features/releasesUiPath Agentic  automation with Autopilot for everyone + new features/releases
UiPath Agentic automation with Autopilot for everyone + new features/releases
DianaGray10
?
Columbia Weather Systems - Product Overview
Columbia Weather Systems - Product OverviewColumbia Weather Systems - Product Overview
Columbia Weather Systems - Product Overview
Columbia Weather Systems
?
The Future is Here C Learn How to Get Started! Ionic App Development
The Future is Here C Learn How to Get Started! Ionic App DevelopmentThe Future is Here C Learn How to Get Started! Ionic App Development
The Future is Here C Learn How to Get Started! Ionic App Development
7Pillars
?
Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...
Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...
Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...
voginip
?
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing EnvironmentsAutomated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Pablo Gmez Abajo
?
Java on AWS Without the Headaches - Fast Builds, Cheap Deploys, No Kubernetes
Java on AWS Without the Headaches - Fast Builds, Cheap Deploys, No KubernetesJava on AWS Without the Headaches - Fast Builds, Cheap Deploys, No Kubernetes
Java on AWS Without the Headaches - Fast Builds, Cheap Deploys, No Kubernetes
VictorSzoltysek
?
Generative AI & Telco track at AMLD 2024
Generative AI & Telco track at AMLD 2024Generative AI & Telco track at AMLD 2024
Generative AI & Telco track at AMLD 2024
Laurent Ciavaglia
?
Packaging your App for AppExchange C Managed Vs Unmanaged.pptx
Packaging your App for AppExchange C Managed Vs Unmanaged.pptxPackaging your App for AppExchange C Managed Vs Unmanaged.pptx
Packaging your App for AppExchange C Managed Vs Unmanaged.pptx
mohayyudin7826
?
Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]
Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]
Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]
jackalen173
?
Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025
Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025
Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025
Sugarlab AI
?
HHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptx
HHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptxHHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptx
HHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptx
HampshireHUG
?
ݺߣs from Perth MuleSoft Meetup March 2025
ݺߣs from Perth MuleSoft Meetup March 2025ݺߣs from Perth MuleSoft Meetup March 2025
ݺߣs from Perth MuleSoft Meetup March 2025
Michael Price
?
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio WebUiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
DianaGray10
?
SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...
SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...
SAP Business Data Cloud: Was die neue SAP-L?sung fr Unternehmen und ihre Dat...
IBsolution GmbH
?
STARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to PonderSTARLINK-JIO-AIRTEL Security issues to Ponder
STARLINK-JIO-AIRTEL Security issues to Ponder
anupriti
?
How to manage technology risk and corporate growth
How to manage technology risk and corporate growthHow to manage technology risk and corporate growth
How to manage technology risk and corporate growth
Arlen Meyers, MD, MBA
?
When Platform Engineers meet SREs - The Birth of O11y-as-a-Service Superpowers
When Platform Engineers meet SREs - The Birth of O11y-as-a-Service SuperpowersWhen Platform Engineers meet SREs - The Birth of O11y-as-a-Service Superpowers
When Platform Engineers meet SREs - The Birth of O11y-as-a-Service Superpowers
Eric D. Schabell
?
UiPath Automation Developer Associate Training Series 2025 - Session 8
UiPath Automation Developer Associate Training Series 2025 - Session 8UiPath Automation Developer Associate Training Series 2025 - Session 8
UiPath Automation Developer Associate Training Series 2025 - Session 8
DianaGray10
?
The Rise of AI Agents-From Automation to Autonomous Technology
The Rise of AI Agents-From Automation to Autonomous TechnologyThe Rise of AI Agents-From Automation to Autonomous Technology
The Rise of AI Agents-From Automation to Autonomous Technology
Impelsys Inc.
?
UiPath Agentic automation with Autopilot for everyone + new features/releases
UiPath Agentic  automation with Autopilot for everyone + new features/releasesUiPath Agentic  automation with Autopilot for everyone + new features/releases
UiPath Agentic automation with Autopilot for everyone + new features/releases
DianaGray10
?
The Future is Here C Learn How to Get Started! Ionic App Development
The Future is Here C Learn How to Get Started! Ionic App DevelopmentThe Future is Here C Learn How to Get Started! Ionic App Development
The Future is Here C Learn How to Get Started! Ionic App Development
7Pillars
?
Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...
Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...
Rens van de Schoot - Mensen, machines en de zoektocht naar het laatste releva...
voginip
?
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing EnvironmentsAutomated Engineering of Domain-Specific Metamorphic Testing Environments
Automated Engineering of Domain-Specific Metamorphic Testing Environments
Pablo Gmez Abajo
?
Java on AWS Without the Headaches - Fast Builds, Cheap Deploys, No Kubernetes
Java on AWS Without the Headaches - Fast Builds, Cheap Deploys, No KubernetesJava on AWS Without the Headaches - Fast Builds, Cheap Deploys, No Kubernetes
Java on AWS Without the Headaches - Fast Builds, Cheap Deploys, No Kubernetes
VictorSzoltysek
?
Generative AI & Telco track at AMLD 2024
Generative AI & Telco track at AMLD 2024Generative AI & Telco track at AMLD 2024
Generative AI & Telco track at AMLD 2024
Laurent Ciavaglia
?
Packaging your App for AppExchange C Managed Vs Unmanaged.pptx
Packaging your App for AppExchange C Managed Vs Unmanaged.pptxPackaging your App for AppExchange C Managed Vs Unmanaged.pptx
Packaging your App for AppExchange C Managed Vs Unmanaged.pptx
mohayyudin7826
?
Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]
Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]
Fast Screen Recorder v2.1.0.11 Crack Updated [April-2025]
jackalen173
?
Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025
Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025
Sugarlab AI: How Much Does an XXX AI Porn Generator Cost in 2025
Sugarlab AI
?
HHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptx
HHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptxHHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptx
HHUG-04-2025-Close-more-deals-from-your-existing-pipeline-FOR SLIDESHARE.pptx
HampshireHUG
?
ݺߣs from Perth MuleSoft Meetup March 2025
ݺߣs from Perth MuleSoft Meetup March 2025ݺߣs from Perth MuleSoft Meetup March 2025
ݺߣs from Perth MuleSoft Meetup March 2025
Michael Price
?
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio WebUiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
UiPath NY AI Series: Session 4: UiPath AutoPilot for Developers using Studio Web
DianaGray10
?

鲹3

  • 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
  • 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