Categories: None [Edit]
get_or_build
Assume user belongs_to company and you want to get company object within one method call. You can do it like this: user.company_or_build
Total
Ranking: 59,562 of 187,239
Downloads: 17,269
Daily
Ranking: 46,216 of 187,224
Downloads: 8
Downloads Trends
Ranking Trends
Num of Versions Trends
Popular Versions (Major)
Popular Versions (Major.Minor)
Depended by
Rank | Downloads | Name |
---|
Depends on
Rank | Downloads | Name |
---|---|---|
10 | 1,151,901,046 | rake |
36 | 711,658,717 | activerecord |
38 | 701,571,833 | actionpack |
274 | 163,773,486 | sqlite3 |
Owners
# | Gravatar | Handle |
---|---|---|
1 | ka8725 |