29 Apr, 2015
8 commits
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Was made a visual inspection after deleting these locales and nothing looks broken config/locales/pt.yml was left as it is since it is a predefined dictionary download from the internet
27 Apr, 2015
4 commits
-
Code quality day 27 04
-
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>
-
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>
17 Apr, 2015
28 commits
-
Internationalization on Brazilian portuguese translations
-
signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
-
Signed off by: Diego Araújo <diegoamc90@gmail.com>
-
Cretated helper t_hint for easy hint translation retrieval Signed off by: Daniel Miranda <danielkza2@gmail.com>
-
They provided many more languages than Prezento actually supports leading the automatic language detection to misbehave.
-
This reverts commit 99457cf1ee4c3914314199a1eb83a58d4dd7b3cf.
-
Signed-off-by: Pedro Scocco <pedroscocco@gmail.com>
-
Signed off by: Heitor Reis <marcheing@gmail.com>
-
Signed-off-by: Daniel Miranda <danielkza2@gmail.com>