Not showing commit comments with no error in production.log
Created by: arabek
request: /redacted/notes.js?target_type=commit&target_id=b2ddeb2b32a144a4fd841e879feb84d6c67814ec&_=1363000141761
Started GET "/redacted/notes.js?target_type=commit&target_id=b2ddeb2b32a144a4fd841e879feb84d6c67814ec&_=1363000141761" for 127.0.0.1 at 2013-03-11 12:11:55 +0100 Processing by NotesController#index as JS Parameters: {"target_type"=>"commit", "target_id"=>"b2ddeb2b32a144a4fd841e879feb84d6c67814ec", "_"=>"1363000141761", "project_id"=>"redacted"} Rendered notes/index.js.haml (1.9ms)
Response body received in browser was empty. Response code 200.
Mysql:
mysql> select * from notes where commit_id = 'b2ddeb2b32a144a4fd841e879feb84d6c67814ec'\G *************************** 1. row *************************** id: 7565 note: multi line comment noteable_type: Commit author_id: 26 created_at: 2013-03-04 14:59:29 updated_at: 2013-03-04 14:59:29 project_id: 9 attachment: NULL line_code: 8_1_1 commit_id: b2ddeb2b32a144a4fd841e879feb84d6c67814ec noteable_id: NULL *************************** 2. row *************************** id: 7623 note: single line comment author_id: 26 created_at: 2013-03-05 11:03:28 updated_at: 2013-03-05 11:03:28 project_id: 9 attachment: NULL line_code: 8_1_1 commit_id: b2ddeb2b32a144a4fd841e879feb84d6c67814ec noteable_id: NULL *************************** 3. row *************************** id: 7673 note: sorry had to be readcted noteable_type: Commit author_id: 26 created_at: 2013-03-05 14:42:08 updated_at: 2013-03-05 14:42:08 project_id: 9 attachment: NULL line_code: 7_1_1 commit_id: b2ddeb2b32a144a4fd841e879feb84d6c67814ec noteable_id: NULL *************************** 4. row *************************** id: 7745 note: this too noteable_type: Commit author_id: 26 created_at: 2013-03-06 12:50:49 updated_at: 2013-03-06 12:50:49 project_id: 9 attachment: NULL line_code: 2_206_205 commit_id: b2ddeb2b32a144a4fd841e879feb84d6c67814ec noteable_id: NULL 4 rows in set (0.00 sec)
@4.2-stable