This project is archived and is in readonly mode.
Block syntax for has_many association.build
-
wildchild
Ticket already exist here: http://rails.lighthouseapp.com/p...
-
Jason Dew
that ticket is incomplete; this patch includes test cases
-
Christian Weyer
+1 from me. Opening a block is the ruby way of doing things.
The current hash-based method is very problematic, since you can't update attributes, which are protected from mass assignment.
-
asceth
+1
-
Repository
(from [c6f397c5cecf183680c191dd2128c0a96c5b9399]) Add block syntax to HasManyAssociation#build. [#502 state:resolve]
Signed-off-by: Pratik Naik
-
Pratik
- State changed from new to resolved
-
Repository
(from [04f7ac59d23ccf1b4b29bac8d99f02e634001dee]) Add block syntax to HasManyAssociation#build. [#502 state:resolve]
Signed-off-by: Pratik Naik
