Class: ProcessEngine::ApplicationController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- ProcessEngine::ApplicationController
- Defined in:
- app/controllers/process_engine/application_controller.rb
Direct Known Subclasses
ProcessDefinitionsController, ProcessInstancesController, ProcessTasksController
Instance Method Summary collapse
Instance Method Details
#update_active_record_complex_type(entity) ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'app/controllers/process_engine/application_controller.rb', line 5 def update_active_record_complex_type(entity) begin return yield rescue JSON::ParserError check_error_parsing_attribute_type entity, "JSON is invalid" rescue TypeError check_error_parsing_attribute_type entity, "Array is invalid. e.g. {element1,element2} without space" end false end |