This project is archived and is in readonly mode.
Add magic encoding comment to generated files
-
Xavier Noria
Patch updated with Fred's proposal. That one is better because we certainly can assert
loadedanyway. -
Frederick Cheung
Looks good to me, tests pass. Perhaps the assert should assert that the size is 1 (or is that already covered by existing tests ?
-
Xavier Noria
Yeah, the test assumes size1 is correct because there are unit tests for #size in test_build and test_collection_size_after_building.
-
Tarmo Tänav
I don't think it's necessary to refer to google groups threads in a comment. Either explain the issue in a comment (if it really needs explaining) or don't add a comment. When the patch is commited the added code will already be tied to the commit (git annotate) which will refer to this ticket which already refers to the google groups thread.
Other than that, +1
-
Repository
- State changed from new to resolved
(from [a970f916fb1e05376733e2d42d9bcc2b873af355]) Fix has_many#count_records. [#865 Add magic encoding comment to generated files state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
-
Repository
(from [0048f558e69cfc2675552dd31ea773b2b8271e9b]) Fix has_many#count_records. [#865 Add magic encoding comment to generated files state:resolved]
Signed-off-by: Pratik Naik pratiknaik@gmail.com http://github.com/rails/rails/co...
-
Ryan Bigg
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.
-
Jeff Kreeftmeijer
Automatic cleanup of spam.
