This project is archived and is in readonly mode.
Quoting issues in AR's association preload
-
Tiago Macedo
Previous patch had a bug if the primary key was a float. This patch fixes it.
-
Pratik
- State changed from new to incomplete
- Assigned user set to Pratik
Hey Tiago,
Could you add a failing test case in AR test suite please ? The test should fail before applying and pass after.
Thanks.
-
Tarmo Tänav
Squashed the commits, added test using features provided by #325 Add assert_query method to AR test_helper (assert_sql), also added quoting for the primary_key column. Also verified that test fails without the preload code changes.
-
Tiago Macedo
Thanks for the help.
I didn't even notice the primary_key wasn't quoted ;)
-
Repository
- State changed from incomplete to resolved
(from [76df9fa0680d62ce41fa6f3b743c605101d101d2]) Fix integer quoting issues in association preload. [#602 state:resolved]
Signed-off-by: Pratik Naik
-
Repository
(from [84baada079fa7e68750c1e386f9849d2d47b59e1]) Fix integer quoting issues in association preload. [#602 state:resolved]
Signed-off-by: Pratik Naik
