08 Jun, 2015
1 commit
-
Generally rails will deal with this, but since we are already on a rescue it will not handle to avoid an infinite loop. So we need to deal with the error.
27 Apr, 2015
2 commits
-
Signed off by: Daniel Miranda <danielkza2@gmail.com>
-
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
6 commits
-
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
-
Missing actions for menu selection Signed off by: Daniel Miranda <danielkza@gmail.com>
-
Signed-off-by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
Signed off by: Daniel Alves <danpaulalves@gmail.com>
11 Dec, 2014
1 commit
20 Sep, 2013
1 commit
17 Jul, 2013
2 commits
27 Jun, 2013
1 commit
21 Jun, 2013
1 commit
06 May, 2013
1 commit