27 Apr, 2015
1 commit
-
Error handling for finding resources in controllers used a find_resource method. It was broken and was letting code pass-through after errors. In addition, cases for find methods for things other than simple IDs weren't handled. Replace it with an error handler in ApplicationController capturing RecordNotFound exceptions and returning the appropriate error pages (or JSON). Also, fix usages of find that should throw errors (using ActiveRecord methods ending with !) but didn't. Correspondly, fix all the tests that mocked the find_resource method, and correct expectations where needed. Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
17 Apr, 2015
1 commit
-
Signed off by: Daniel Alves <danpaulalves@gmail.com>
23 Feb, 2015
1 commit
-
Signed off by: Daniel Alves <danpaulalves@gmail.com>
12 Feb, 2015
2 commits
-
Grade validation is wrong. We need to check whether the field was filled with letters.
-
Signed off by: Daniel Paulino Alves <danpaulalves@gmail.com>
10 Dec, 2014
1 commit
26 Feb, 2014
1 commit
21 Jan, 2014
10 commits
-
set_reading_group on a before_action ownership checkage semantically correct Began to test concerns Signed off by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
-
Signed off by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
-
Signed-of By: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
-
Signed-of By: João M. M. Silva <jaodsilv@linux.ime.usp.br>
-
Missing show Signed-off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
missing updates Signed-of By: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
Signed-off by: Diego Araújo <diego.amc@gmail.com> Signed-off by: Renan Fichberg <rfichberg@gmail.com>
-
Signed-off by: Fellipe Souto Sampaio <fllsouto@gmail.com>
-
Missing Acceptance Test Signed-off By : Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
-
Signed-off By: Fellipe Souto Sampaio <fllsouto@gmail.com>