Your SlideShare is downloading. ×
2007/09/29 PHP to Rails - Webキャリアさん主催 ”PHPプログラマの為のRuby on 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

2007/09/29 PHP to Rails - Webキャリアさん主催 ”PHPプログラマの為のRuby on Rails入門”

7,435
views

Published on

Published in: Technology

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

No Downloads
Views
Total Views
7,435
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
117
Comments
0
Likes
3
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