Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 42 lines (37 sloc) 2.396 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
  Singular associations (one-to-one)
  
                                    | | belongs_to |
  generated methods | belongs_to | :polymorphic | has_one
  ----------------------------------+------------+--------------+---------
  #other | X | X | X
  #other=(other) | X | X | X
  #build_other(attributes={}) | X | | X
  #create_other(attributes={}) | X | | X
  #other.create!(attributes={}) | | | X
  #other.nil? | X | X |
  
  Collection associations (one-to-many / many-to-many)
  
                                    | | | has_many
  generated methods | habtm | has_many | :through
  ----------------------------------+-------+----------+----------
  #others | X | X | X
  #others=(other,other,...) | X | X |
  #other_ids | X | X |
  #other_ids=(id,id,...) | X | X |
  #others<< | X | X | X
  #others.push | X | X | X
  #others.concat | X | X | X
  #others.build(attributes={}) | X | X | X
  #others.create(attributes={}) | X | X |
  #others.create!(attributes={}) | X | X | X
  #others.size | X | X |
  #others.length | X | X |
  #others.count | | X |
  #others.sum(args*,&block) | X | X | X
  #others.empty? | X | X |
  #others.clear | X | X |
  #others.delete(other,other,...) | X | X | X
  #others.delete_all | X | X |
  #others.destroy_all | X | X |
  #others.find(*args) | X | X | X
  #others.find_first | X | |
  #others.uniq | X | X |
  #others.reset | X | X | X

Something went wrong with that request. Please try again.