• A
    removed unnecessary mapping for on options · 512f03e7
    Anton Kalyaev 提交于
    Right before that in `assert_valid_transaction_action` method we make
    sure that `options[:on]` contains values from `ACTIONS` array
    (`[:create, :destroy, :update]`) and nothing more (i.e. it could not
    contain strings or something else, otherwise the error is raised).
    
    Also I've polished some docs.
    512f03e7
transactions.rb 16.2 KB