This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Tue Jun 10 17:23:31 -0700 2008 | [duncanbeevers] |
| |
README | Mon Jul 14 10:08:01 -0700 2008 | [duncanbeevers] |
| |
Rakefile | Tue Jun 10 17:18:08 -0700 2008 | [duncanbeevers] |
| |
init.rb | Fri Jun 13 12:39:12 -0700 2008 | [duncanbeevers] |
| |
lib/ | Fri Jun 27 23:02:26 -0700 2008 | [duncanbeevers] |
| |
test/ | Fri Jun 27 23:02:26 -0700 2008 | [duncanbeevers] |
README
Deprecated This behavior is available in rails core as of commit e0750d6a5c7f621e4ca12205137c0b135cab444a http://github.com/rails/rails/commit/e0750d6a5c7f621e4ca12205137c0b135cab444a Allows creation of objects through associations by assigning hash to association class User < ActiveRecord::Base has_one :wristband has_many :favorites has_many :favorite_wristbands, :through => :favorites, :source => :wristband end class Wristband < ActiveRecord::Base belongs_to :user end class Favorite < ActiveRecord::Base belongs_to :user belongs_to :wristband end user = User.new(:wristband => { :color => 'orange' }) user = User.new(:favorite_wristbands => [ { :color => 'pink' } ] )




