ActiveRecord named scopes are computed before restfulx gem gets loaded this patch addresses that and makes sure to_fxml/to_amf calls are properly delegated
to_fxml/to_amf