Ruby de Rails

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Ruby de Rails - 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. • if a==b then; obj.m(); end • a==b && obj.m • obj.m if a==b
    6. DB (Model) Scaffold HTML
    7. DB (Model) Scaffold HTML
    8. class AddNick < ActiveRecord::Migration def self.up add_column :users, :nick, :text end def self.down remove_column :users, :nick end end

    + masuidrivemasuidrive, 3 years ago

    custom

    1792 views, 1 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1792
      • 1792 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 74
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories

    Tags