Rails 1H
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Rails 1H

on

  • 6,412 views

 

Statistics

Views

Total Views
6,412
Views on SlideShare
5,675
Embed Views
737

Actions

Likes
2
Downloads
187
Comments
1

4 Embeds 737

http://blog.masuidrive.jp 734
http://72.14.235.104 1
http://localhost 1
http://ss.dotbranch.com 1

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Rails 1H Presentation 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. View Controller Model Rails mongrel
  • 6. View Controller Model
  • 7. View Controller Model URL params[]
  • 8. View Controller URL Model URL params[]
  • 9. View Controller Model.find,model.save URL Model URL params[]
  • 10. View Controller Model.find,model.save URL Model URL params[]
  • 11. View Controller Model.find,model.save URL Model URL params[]
  • 12. app/models/todo.rb description