Vilius Paulauskas

Results 2 issues of Vilius Paulauskas

Uses ```$()``` syntax instead ```$(document).on("ready")``` which removes deprecation warning as of jQuery 1.8 and fixes the script for jQuery 3, where the method is removed. See: https://jquery.com/upgrade-guide/3.0/#breaking-change-on-quot-ready-quot-fn-removed https://api.jquery.com/ready/#entry-longdesc

Bug: disabling an observer that observes any of ```around_*``` filters, will prevent observable ActiveRecord model from saving. Solution: when ```disabled_for?(object)``` is true we need to invoke provided ```&block``` so that...