Your SlideShare is downloading. ×
Rails 1H
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 1H

4,593
views

Published on


1 Comment
3 Likes
Statistics
Notes
No Downloads
Views
Total Views
4,593
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
188
Comments
1
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. 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