Your SlideShare is downloading. ×
Railsチュートリアル
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Railsチュートリアル

11,006
views

Published on

2007/08/11 ワイズノット社内勉強会第1回

2007/08/11 ワイズノット社内勉強会第1回

Published in: Technology, News & Politics

0 Comments
9 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
11,006
On Slideshare
0
From Embeds
0
Number of Embeds
6
Actions
Shares
0
Downloads
2,397
Comments
0
Likes
9
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. class User < ActiveRecord::Base end
  • 2. class User < ActiveRecord::Base has_many :books end
  • 3. class User < ActiveRecord::Base set_table_name 'user' set_primary_key 'pkey' end
  • 4. ITPro
  • 5. http://localhost:3000/
  • 6. DB DB DB
  • 7. DB
  • 8. app/models/todo.rb AR::Base O/R
  • 9. Rails
  • 10. Rails
  • 11. View Controller Model Rails mongrel
  • 12. View Controller Model
  • 13. View Controller Model URL params[]
  • 14. View Controller URL Model URL params[]
  • 15. View Controller Model.find,model.save URL Model URL params[]
  • 16. View Controller Model.find,model.save URL Model URL params[]
  • 17. View Controller Model.find,model.save URL Model URL params[]
  • 18. Rails
  • 19. Todo paginate
  • 20. Todo paginate HTML
  • 21. Todo edit id 1
  • 22. :partial _ .rhtml
  • 23. @todo <textarea> @todo.description
  • 24. URL redirect
  • 25. app/models/todo.rb description
  • 26. class
  • 27. Linux
  • 28. Linux

×