Railsチュートリアル

11,464
-1

Published on

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

Published in: Technology, News & Politics

Railsチュートリアル

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

    Clipping is a handy way to collect important slides you want to go back to later.

×