stilist + rubyonrails 66
ActiveRecord has_many where two columns in table A are primary keys in table B
june 2010 by stilist
Ended up using James Rosen’s third approach.
coding
activerecord
rubyonrails
lic:cc:by-sa
src:stackoverflow
june 2010 by stilist
related tags
! ⊕ 37signals ⊕ abstractcontroller ⊕ actioncontroller ⊕ actiondispatch ⊕ actionmailer ⊕ actionpack ⊕ activemodel ⊕ activerecord ⊕ activesupport ⊕ alexpayne ⊕ apple ⊕ architecture ⊕ bundler ⊕ by:alexbrie ⊕ by:andrearko ⊕ by:billvenners ⊕ by:chadhendry ⊕ by:codyfauser ⊕ by:danielambrosio ⊕ by:danielmanges ⊕ by:davegiunta ⊕ by:dmytroshteflyuk ⊕ by:ericchapweske ⊕ by:fabioakita ⊕ by:jamisbuck ⊕ by:janberdajs ⊕ by:jaredcarroll ⊕ by:jasonrudolph ⊕ by:jensjaeger ⊕ by:joelspolsky ⊕ by:joshhuckabee ⊕ by:michaellang ⊕ by:mikellindsaar ⊕ by:nicwilliams ⊕ by:rizwanreza ⊕ by:robertjones ⊕ by:ryanbates ⊕ by:simontokumine ⊕ by:sudarawilliams ⊕ by:terryheath ⊕ by:wen-tienchang ⊕ by:yangchung ⊕ by:yehudakatz ⊕ coding ⊕ codingstyle ⊕ compositekeys ⊕ culture ⊕ database ⊕ davidpollak ⊕ dhh ⊕ email ⊕ employment ⊕ fixtures ⊕ forms ⊕ geography ⊕ geokit ⊕ geolocation ⊕ googlemaps ⊕ habtm ⊕ helpers ⊕ http ⊕ iconv ⊕ interview ⊕ jackdorsey ⊕ java ⊕ javascript ⊕ johnkalucki ⊕ jonasboner ⊕ joshpeek ⊕ jquery ⊕ juno ⊕ kestrel ⊕ leopard ⊕ lic:cc:by ⊕ lic:cc:by-nc-nd ⊕ lic:cc:by-nc-sa ⊕ lic:cc:by-sa ⊕ lic:pd ⊕ lifeupgrades ⊕ macroman ⊕ maps ⊕ merb ⊕ metal ⊕ microsoft ⊕ mysql ⊕ odeo ⊕ openid ⊕ oracle ⊕ osx ⊕ people ⊕ peopleware ⊕ polymorphism ⊕ presenterpattern ⊕ proc ⊕ psychology ⊕ rack ⊕ rails ⊕ rails3 ⊕ railties ⊕ ramn ⊕ redis ⊕ reference ⊕ rel:02006 ⊕ rel:02007 ⊕ rel:02008 ⊕ rel:02009 ⊕ rel:02010 ⊕ rfc822 ⊕ robeypointer ⊕ ruby ⊕ ruby-openid ⊕ rubyonrails ⊖ rvm ⊕ scala ⊕ scaling ⊕ snowleopard ⊕ software ⊕ src:artima ⊕ src:engineyard ⊕ src:joelonsoftware ⊕ src:railscats ⊕ src:railsdispatch ⊕ src:stackoverflow ⊕ stevejenson ⊕ styleguide ⊕ testing ⊕ timothylister ⊕ tmail ⊕ tomdemarco ⊕ transcript ⊕ tutorial ⊕ twitter ⊕ validation ⊕ weblog ⊕ windows ⊕ ym4r ⊕Copy this bookmark: