Class: Jsql::ExecuteController
Instance Method Summary
collapse
#colon_switcher, #create_query, #database_type, #delete_manager, #delete_manager_time, #find_manager, #get_queries, #missing_params_collector, #params_switcher, #query_method_compare, #question_mark_switcher, #render_error_msg, #rollback_manager, #transaction_control
Instance Method Details
#create ⇒ Object
3
4
5
|
# File 'app/controllers/jsql/execute_controller.rb', line 3
def create
perform_method('commit')
end
|
7
8
9
10
|
# File 'app/controllers/jsql/execute_controller.rb', line 7
def perform_method(method)
manager = transaction_control
manager.commit_transaction
end
|